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
78afc508
Commit
78afc508
authored
Jul 25, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use success from args
parent
5481fea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
debomatic-modules/JSONLogger.py
debomatic-modules/JSONLogger.py
+5
-8
No files found.
debomatic-modules/JSONLogger.py
View file @
78afc508
...
...
@@ -139,17 +139,14 @@ class DebomaticModule_JSONLogger:
def
post_build
(
self
,
args
):
status
=
self
.
_get_package_status
(
args
)
status
[
'status'
]
=
'build'
status
[
'success'
]
=
False
status
[
'success'
]
=
args
[
'success'
]
status
[
'tags'
]
=
{}
resultdir
=
os
.
path
.
join
(
args
[
'directory'
],
'pool'
,
args
[
'package'
])
for
filename
in
os
.
listdir
(
resultdir
):
if
filename
.
endswith
(
'.dsc'
):
status
[
'success'
]
=
True
else
:
full_path
=
os
.
path
.
join
(
resultdir
,
filename
)
tag
=
LogParser
(
full_path
).
parse
()
if
tag
:
status
[
'tags'
][
filename
]
=
tag
full_path
=
os
.
path
.
join
(
resultdir
,
filename
)
tag
=
LogParser
(
full_path
).
parse
()
if
tag
:
status
[
'tags'
][
filename
]
=
tag
self
.
_write_package_json
(
args
,
status
)
self
.
_append_json_logfile
(
args
,
status
)
...
...
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