Explorar o código

celery.bin.celerybeata: Fixed typo logfile -> self.logfile

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
27ed5955ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/bin/celerybeat.py

+ 1 - 1
celery/bin/celerybeat.py

@@ -85,7 +85,7 @@ class Beat(object):
             self.install_sync_handler(beat)
             beat.start()
         except Exception, exc:
-            emergency_error(logfile,
+            emergency_error(self.logfile,
                     "celerybeat raised exception %s: %s\n%s" % (
                             exc.__class__, exc, traceback.format_exc()))