Browse Source

PEP8ify + pyflakes

Ask Solem 14 years ago
parent
commit
32831cf1cb
2 changed files with 2 additions and 1 deletions
  1. 1 0
      celery/loaders/base.py
  2. 1 1
      celery/log.py

+ 1 - 0
celery/loaders/base.py

@@ -10,6 +10,7 @@ from kombu.utils import cached_property
 
 from celery.datastructures import DictAttribute
 from celery.exceptions import ImproperlyConfigured
+from celery.utils import get_cls_by_name
 from celery.utils import import_from_cwd as _import_from_cwd
 
 BUILTIN_MODULES = frozenset(["celery.task"])

+ 1 - 1
celery/log.py

@@ -122,7 +122,7 @@ class Logging(object):
                                         loglevel=loglevel, logfile=logfile,
                                         format=format, colorize=colorize)
         Logging._setup = True
-        
+
         return receivers
 
     def _detect_handler(self, logfile=None):