on xenial help sign in
Fixed the error reporting.
d63d4feLeo Arias
tests/autopilot/unity8/process_helpers.py+2−2
@@ -164,7 +164,7 @@ def start_job(name, *args):
164 logger.info(output)
164 logger.info(output)
165 pid = get_job_pid(name)
165 pid = get_job_pid(name)
166 except subprocess.CalledProcessError as e:
166 except subprocess.CalledProcessError as e:
167− e.args += ('Failed to start {}: {}.'.format(name, e.output))
167+ e.args += ('Failed to start {}: {}.'.format(name, e.output),)
168 raise
168 raise
169 else:
169 else:
170 return pid
170 return pid
@@ -219,7 +219,7 @@ def stop_job(name):
219 )
219 )
220 logger.info(output)
220 logger.info(output)
221 except subprocess.CalledProcessError as e:
221 except subprocess.CalledProcessError as e:
222− e.args += ('Failed to stop {}: {}.'.format(name, e.output))
222+ e.args += ('Failed to stop {}: {}.'.format(name, e.output),)
223 raise
223 raise
224
224
225
225