Merge "Fix incorrect exception handling in perfboot.py"

This commit is contained in:
Yasuhiro Matsuda 2015-08-06 01:48:34 +00:00 committed by Gerrit Code Review
commit 7f2e05e9a3

View file

@ -203,7 +203,7 @@ def init_perf(device, output, record_list, tags):
output_results(output, record_list, tags)
if original_dropbox_max_files is not None:
restore_dropbox(device, original_dropbox_max_files)
except subprocess.CalledProcessError, RuntimeError:
except (subprocess.CalledProcessError, RuntimeError):
pass
atexit.register(cleanup)