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):
for argument_key, argument_value in vars(argument_option_instance
).iteritems():
option_dict.update({argument_key:argument_value})
pidfile = option_dict.get("pidfile", None)
pidfile = option_dict.get("pidfile")
if 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