Make pylint happier with PEP8-compliant argument name
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 14:32:13 +0000 (14:32 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 9 Nov 2010 14:32:13 +0000 (14:32 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2062 9efc2488-bf62-4759-914b-345cdb29e865

src/python/osrf/system.py

index dff93b0..ce1fe64 100644 (file)
@@ -98,7 +98,7 @@ class System(object):
     @return 0 if child, pid if parent
     '''
     @staticmethod
-    def daemonize(parentExit=True):
+    def daemonize(parent_exit=True):
         pid = os.fork() 
         if pid == 0:
             try:
@@ -112,7 +112,7 @@ class System(object):
                 sys.stderr = open(os.devnull)
             except (OSError, ValueError):
                 pass
-        elif parentExit:
+        elif parent_exit:
             os._exit(0)
 
         return pid