Browse Source

LoggingProxy shouldn't define fileno(). Closes #928

Ask Solem 12 năm trước cách đây
mục cha
commit
f37160d2a6
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      celery/utils/log.py

+ 0 - 3
celery/utils/log.py

@@ -185,9 +185,6 @@ class LoggingProxy(object):
         """Always returns :const:`False`. Just here for file support."""
         return False
 
-    def fileno(self):
-        return None
-
 
 def ensure_process_aware_logger():
     """Make sure process name is recorded when loggers are used."""