Index: build/android/gyp/jar_toc.py |
diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py |
index c05a42ac207f9814f5437748d5fccccc31ae7ea0..169b853034080752e37fcb51176ff465f976ac1d 100755 |
--- a/build/android/gyp/jar_toc.py |
+++ b/build/android/gyp/jar_toc.py |
@@ -16,13 +16,14 @@ rebuild, will have a corresponding change in the TOC file. |
""" |
import optparse |
-import os |
import re |
import sys |
import zipfile |
+# pylint: disable=F0401 |
from util import build_utils |
from util import md5_check |
+# pylint: enable=F0401 |
def GetClassesInZipFile(zip_file): |
@@ -89,7 +90,7 @@ def DoJarToc(options): |
build_utils.Touch(toc_path) |
-def main(argv): |
+def main(): |
parser = optparse.OptionParser() |
parser.add_option('--jar-path', help='Input .jar path.') |
parser.add_option('--toc-path', help='Output .jar.TOC path.') |
@@ -107,4 +108,4 @@ def main(argv): |
if __name__ == '__main__': |
- sys.exit(main(sys.argv)) |
+ sys.exit(main()) |