Ask Solem há 8 anos atrás
pai
commit
792a7ea287
4 ficheiros alterados com 9 adições e 0 exclusões
  1. 6 0
      celery/five.py
  2. 1 0
      docs/conf.py
  3. 1 0
      funtests/suite/config.py
  4. 1 0
      setup.py

+ 6 - 0
celery/five.py

@@ -17,9 +17,15 @@ from importlib import import_module
 from types import ModuleType
 
 # extends vine.five
+from vine import five
 from vine.five import *  # noqa
 from vine.five import __all__ as _all_five
 
+# bloody flake8
+items = five.items
+bytes_if_py2 = five.bytes_if_py2
+string_t = five.string_t
+
 try:
     from functools import reduce
 except ImportError:

+ 1 - 0
docs/conf.py

@@ -61,6 +61,7 @@ ignored_settings = {
     'worker_force_execv',
 }
 
+
 def configcheck_project_settings():
     from celery.app.defaults import NAMESPACES, flatten
     settings.update(dict(flatten(NAMESPACES)))

+ 1 - 0
funtests/suite/config.py

@@ -14,6 +14,7 @@ queues = {'testcelery': {'routing_key': 'testcelery'}}
 
 log_color = False
 
+
 @atexit.register
 def teardown_testdb():
     import os

+ 1 - 0
setup.py

@@ -144,6 +144,7 @@ with open(os.path.join(here, 'celery/__init__.py')) as meta_fh:
 
 # -*- Installation Requires -*-
 
+
 def strip_comments(l):
     return l.split('#', 1)[0].strip()