Commit 4179bc52 authored by cpomies's avatar cpomies
Browse files

Added log info in EnabledSlot.py

parent e32d4dc6
......@@ -87,12 +87,16 @@ class Script(LbUtils.Script.PlainScript):
slot_ids = get_ids(slots)
# get_id = lambda slot: get_ids([slot]])[slot]
for slot in slots:
slot_build_id=slot_ids[slot]
output_file_name = output_file.format(slot)
open(output_file_name, 'w') \
.write(str(JobParams(slot=slot,
slot_build_id=slot_ids[slot]
slot_build_id=slot_build_id
)) + '\n')
self.log.debug('%s written', output_file_name)
self.log.info('%s written for slot %s with build_id %s',
output_file_name,
slot,
slot_build_id)
self.log.info('%s slots to start', len(slots))
......
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