From 2fb57b1dfb5ad4c4e7b2ae96d8da1f35a3f44f60 Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 9 Nov 2010 14:32:13 +0000 Subject: [PATCH] Make pylint happier with PEP8-compliant argument name git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2062 9efc2488-bf62-4759-914b-345cdb29e865 --- src/python/osrf/system.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python/osrf/system.py b/src/python/osrf/system.py index dff93b0..ce1fe64 100644 --- a/src/python/osrf/system.py +++ b/src/python/osrf/system.py @@ -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 -- 2.11.0