on xenial help sign in
Fixed the error reporting.
commitd63d4fe4bf6a15b6e98e3ed9d9b20f61df5dc63b authorLeo Arias <leo.arias@canonical.com> dateWed 30 Jul 2014, 22:48 (12 years ago) parentfbdd4fb
1 file changed+2−2
tests/autopilot/unity8/process_helpers.py+2−2
tests/autopilot/unity8/process_helpers.py+2−2
@@ -164,7 +164,7 @@ def start_job(name, *args):
164164 logger.info(output)
165165 pid = get_job_pid(name)
166166 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),)
168168 raise
169169 else:
170170 return pid
@@ -219,7 +219,7 @@ def stop_job(name):
219219 )
220220 logger.info(output)
221221 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),)
223223 raise
224224
225225