Commit 78afc508 authored by Leo Iannacone's avatar Leo Iannacone

use success from args

parent 5481fea0
......@@ -139,13 +139,10 @@ 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:
......
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