Commit 654fe2b0 authored by Leo Iannacone's avatar Leo Iannacone

removed blank space at end of line

parent 4a201cf1
...@@ -35,7 +35,7 @@ class DebomaticModule_JSONLogger: ...@@ -35,7 +35,7 @@ class DebomaticModule_JSONLogger:
self.jsonfile = '/var/log/debomatic-json.log' self.jsonfile = '/var/log/debomatic-json.log'
def _set_jsonfile(self, args): def _set_jsonfile(self, args):
"""If debomatic config file has section [jsonlogger] try to get """If debomatic config file has section [jsonlogger] try to get
'jsonfile' option and override the default value.""" 'jsonfile' option and override the default value."""
if 'opts' in args and args['opts'].has_section('jsonlogger'): if 'opts' in args and args['opts'].has_section('jsonlogger'):
self.jsonfile = args['opts'].get('jsonlogger', 'jsonfile').strip() self.jsonfile = args['opts'].get('jsonlogger', 'jsonfile').strip()
...@@ -62,7 +62,7 @@ class DebomaticModule_JSONLogger: ...@@ -62,7 +62,7 @@ class DebomaticModule_JSONLogger:
keys = ['package', 'distribution', 'uploader'] keys = ['package', 'distribution', 'uploader']
info = {} info = {}
for k in keys: for k in keys:
if k in args: if k in args:
info[k] = args[k] info[k] = args[k]
return info return info
......
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