commit | 87e4ab075a1c90ae90bcc9f03d13e113c1a7b04f | [log] [tgz] |
---|---|---|
author | Paul Belanger <pabelanger@redhat.com> | Wed Jun 08 14:17:20 2016 -0400 |
committer | Paul Belanger <pabelanger@redhat.com> | Wed Jun 08 14:49:33 2016 -0400 |
tree | 724672720090354587e9d956478f1db92f891d85 | |
parent | e381c54d9ea1e726d78a4ac178fb9c251a2d9076 [diff] |
Fix referenced before assignment for BuildCompletedEvent It was possible for duration to be referenced before assignment. Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/zuul/scheduler.py", line 1108, in _doBuildCompletedEvent except Exception: UnboundLocalError: local variable 'duration' referenced before assignment Change-Id: I48446f9cdb23bfd37c1a843dbcf90f94492a0678 Signed-off-by: Paul Belanger <pabelanger@redhat.com>