Skip to content
Snippets Groups Projects
Commit 0bae6626 authored by Zack Galbreath's avatar Zack Galbreath Committed by Todd Gamblin
Browse files

Avoid UnboundLocalError

Make sure cdash_phase is defined before referring to it.
parent 9110c727
No related branches found
No related tags found
No related merge requests found
......@@ -77,6 +77,7 @@ def build_report(self, filename, report_data):
# Parse output phase-by-phase.
phase_regexp = re.compile(r"Executing phase: '(.*)'")
cdash_phase = ''
for spec in report_data['specs']:
for package in spec['packages']:
if 'stdout' in package:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment