Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
654fe2b0
Commit
654fe2b0
authored
Jun 18, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed blank space at end of line
parent
4a201cf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
debomatic-modules/JSONLogger.py
debomatic-modules/JSONLogger.py
+2
-2
No files found.
debomatic-modules/JSONLogger.py
View file @
654fe2b0
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment