Przeglądaj źródła

PEP8ify+pyflakes

Ask Solem 14 lat temu
rodzic
commit
49c3f61fe2
3 zmienionych plików z 3 dodań i 4 usunięć
  1. 0 1
      celery/app/__init__.py
  2. 3 2
      celery/backends/base.py
  3. 0 1
      celery/utils/term.py

+ 0 - 1
celery/app/__init__.py

@@ -48,7 +48,6 @@ class AppPickler(object):
                     set_as_current=False,
                     accept_magic_kwargs=accept_magic_kwargs)
 
-
     def construct(self, cls, **kwargs):
         return cls(**kwargs)
 

+ 3 - 2
celery/backends/base.py

@@ -21,8 +21,9 @@ class BaseBackend(object):
 
     TimeoutError = TimeoutError
 
-    #: Time to sleep between polling each individual item in `ResultSet.iterate`.
-    #: as opposed to the `interval` argument which is for each pass.
+    #: Time to sleep between polling each individual item
+    #: in `ResultSet.iterate` (as opposed to the `interval`
+    #: argument which is for each pass).
     subpolling_interval = None
 
     def __init__(self, *args, **kwargs):

+ 0 - 1
celery/utils/term.py

@@ -23,7 +23,6 @@ SYSTEM = platform.system()
 IS_WINDOWS = SYSTEM == "Windows"
 
 
-
 class colored(object):
 
     def __init__(self, *s, **kwargs):