Преглед изворни кода

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