From f3d0d42f1a38906e0e80ab96368ad01b8a58f8d0 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsuda Date: Wed, 5 Aug 2015 20:26:03 +0900 Subject: [PATCH] Fix incorrect exception handling in perfboot.py RuntimeError used to be missed unintentionally. BUG: 22207911 Change-Id: I69772350c22fac93d49745c3bc934dda7188bb77 --- init/perfboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/perfboot.py b/init/perfboot.py index 3d4940c5b..583d640ef 100755 --- a/init/perfboot.py +++ b/init/perfboot.py @@ -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)