瀏覽代碼

fix typo platform.reset_signal -> reset_signal

Ask Solem 15 年之前
父節點
當前提交
be4253b64d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/platform.py

+ 1 - 1
celery/platform.py

@@ -56,7 +56,7 @@ def create_daemon_context(logfile=None, pidfile=None, **options):
     # set SIGCLD back to the default SIG_DFL (before python-daemon overrode
     # it) lets the parent wait() for the terminated child process and stops
     # the 'OSError: [Errno 10] No child processes' problem.
-    platform.reset_signal("SIGCLD")
+    reset_signal("SIGCLD")
 
     # Since without stderr any errors will be silently suppressed,
     # we need to know that we have access to the logfile