Commit 00f9ecd5 authored by Vincent Pelletier's avatar Vincent Pelletier

dict.get(..., None) second parameter is not needed.

parent 4dea6120
...@@ -129,7 +129,7 @@ def main(*args): ...@@ -129,7 +129,7 @@ def main(*args):
for argument_key, argument_value in vars(argument_option_instance for argument_key, argument_value in vars(argument_option_instance
).iteritems(): ).iteritems():
option_dict.update({argument_key:argument_value}) option_dict.update({argument_key:argument_value})
pidfile = option_dict.get("pidfile", None) pidfile = option_dict.get("pidfile")
if pidfile: if pidfile:
setRunning(pidfile) setRunning(pidfile)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment