[Opensrf-commits] r2062 - trunk/src/python/osrf (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 9 09:32:15 EST 2010


Author: dbs
Date: 2010-11-09 09:32:13 -0500 (Tue, 09 Nov 2010)
New Revision: 2062

Modified:
   trunk/src/python/osrf/system.py
Log:
Make pylint happier with PEP8-compliant argument name


Modified: trunk/src/python/osrf/system.py
===================================================================
--- trunk/src/python/osrf/system.py	2010-11-09 14:22:25 UTC (rev 2061)
+++ trunk/src/python/osrf/system.py	2010-11-09 14:32:13 UTC (rev 2062)
@@ -98,7 +98,7 @@
     @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 @@
                 sys.stderr = open(os.devnull)
             except (OSError, ValueError):
                 pass
-        elif parentExit:
+        elif parent_exit:
             os._exit(0)
 
         return pid



More information about the opensrf-commits mailing list