Ask Solem %!s(int64=12) %!d(string=hai) anos
pai
achega
5daced27b0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      celery/platforms.py

+ 1 - 0
celery/platforms.py

@@ -250,6 +250,7 @@ def _create_pidlock(pidfile):
     if pidlock.is_locked() and not pidlock.remove_if_stale():
         raise SystemExit(PIDLOCKED % (pidfile, pidlock.read_pid()))
     pidlock.acquire()
+    return pidlock
 
 
 class DaemonContext(object):