Browse Source

fix typo platform.reset_signal -> reset_signal

Ask Solem 15 years ago
parent
commit
be4253b64d
1 changed files with 1 additions and 1 deletions
  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