From 9fdd00f682da6a20e63b769f9198efbce8a0021b Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 12 Jul 2017 11:57:05 -0700 Subject: [PATCH] Add the missing 'import stat' line. Accidentally broken by the cherry-pick in commit f829b40c489781aba8fcd2aeb8c7900f7406e695 - the original CL in oc-dev doesn't require the 'import stat' line. Bug: 63629728 Test: `pylint --rcfile=pylintrc sign_target_files_apks.py` Test: Successfully sign a build with sign_target_files_apks.py. Change-Id: I94be613fb2219597148c4339ac33fc93d0cdae47 --- tools/releasetools/sign_target_files_apks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/sign_target_files_apks.py b/tools/releasetools/sign_target_files_apks.py index 3cf8ce711..e671cd559 100755 --- a/tools/releasetools/sign_target_files_apks.py +++ b/tools/releasetools/sign_target_files_apks.py @@ -102,6 +102,7 @@ import copy import errno import os import re +import stat import subprocess import tempfile import zipfile