Explorar o código

fix typo platform.reset_signal -> reset_signal

Ask Solem %!s(int64=15) %!d(string=hai) anos
pai
achega
be4253b64d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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