Browse Source

Fixes typo

Ask Solem 12 năm trước cách đây
mục cha
commit
5daced27b0
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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):