diff options
author | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2009-07-19 02:07:55 +0200 |
---|---|---|
committer | Nicolas Chauvat <nicolas.chauvat@logilab.fr> | 2009-07-19 02:07:55 +0200 |
commit | a1cdde3320add8bbe4557639488bb4d2ef2861fd (patch) | |
tree | f579949c7a7fb9b4efb8a6ccdfcd35484854662b /daemon.py | |
parent | 6bb5a230a8df5ed2fe417c7b85491073da50dfd3 (diff) | |
download | logilab-common-a1cdde3320add8bbe4557639488bb4d2ef2861fd.tar.gz |
[cleanup] delete-trailing-whitespace
Diffstat (limited to 'daemon.py')
-rw-r--r-- | daemon.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'): |