Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3d0d42f authored by Yasuhiro Matsuda's avatar Yasuhiro Matsuda
Browse files

Fix incorrect exception handling in perfboot.py

RuntimeError used to be missed unintentionally.

BUG: 22207911
Change-Id: I69772350c22fac93d49745c3bc934dda7188bb77
parent 1ada513f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)