Ask Solem hace 12 años
padre
commit
331ed14568
Se han modificado 2 ficheros con 1 adiciones y 2 borrados
  1. 1 0
      celery/worker/__init__.py
  2. 0 2
      celery/worker/control.py

+ 1 - 0
celery/worker/__init__.py

@@ -44,6 +44,7 @@ If you want to automatically declare unknown queues you can
 enable the CELERY_CREATE_MISSING_QUEUES setting.
 """
 
+
 def default_nodename(hostname):
     name, host = nodesplit(hostname or '')
     return nodename(name or 'celery', host or socket.gethostname())

+ 0 - 2
celery/worker/control.py

@@ -8,8 +8,6 @@
 """
 from __future__ import absolute_import
 
-import os
-
 from kombu.utils.encoding import safe_repr
 
 from celery.five import UserDict, items