summaryrefslogtreecommitdiff
path: root/daemon.py
diff options
context:
space:
mode:
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
committerNicolas Chauvat <nicolas.chauvat@logilab.fr>2009-07-19 02:07:55 +0200
commita1cdde3320add8bbe4557639488bb4d2ef2861fd (patch)
treef579949c7a7fb9b4efb8a6ccdfcd35484854662b /daemon.py
parent6bb5a230a8df5ed2fe417c7b85491073da50dfd3 (diff)
downloadlogilab-common-a1cdde3320add8bbe4557639488bb4d2ef2861fd.tar.gz
[cleanup] delete-trailing-whitespace
Diffstat (limited to 'daemon.py')
-rw-r--r--daemon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon.py b/daemon.py
index c094066..a597541 100644
--- a/daemon.py
+++ b/daemon.py
@@ -103,7 +103,7 @@ If it i not the case, remove the file %s''' % (self.name, self._pid_file))
def _run(self):
"""should be overidden in the mixed class"""
raise NotImplementedError()
-
+
## command line utilities ######################################################
L_OPTIONS = ["help", "log=", "delay=", 'no-detach']
@@ -120,7 +120,7 @@ def print_help(modconfig):
Defaults to %s""" % (modconfig.LOG_TRESHOLD, modconfig.DELAY)
def handle_option(modconfig, opt_name, opt_value, help_meth):
- if opt_name in ('-h','--help'):
+ if opt_name in ('-h','--help'):
help_meth()
sys.exit(0)
elif opt_name in ('-l','--log'):