Commit e7976887 authored by Julien Muchembled's avatar Julien Muchembled

rina: fix UnboundLocalError when the 'build-rina' test suite fails too early

parent 81e95395
......@@ -131,6 +131,7 @@ location = {{parameter_dict['slapos_package']}}
# error: buildout traceback or test suite log
start = time()
try:
try:
p = subprocess.Popen(cmd, stderr=subprocess.PIPE)
stderr = []
......@@ -141,6 +142,7 @@ location = {{parameter_dict['slapos_package']}}
stderr_write(line)
stderr.append(line)
returncode = p.wait()
finally:
end = time()
del p
......
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