瀏覽代碼

Fixes typo

Ask Solem 12 年之前
父節點
當前提交
5daced27b0
共有 1 個文件被更改,包括 1 次插入0 次删除
  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):