From 6c030da70f93387fa7edea5116e52931f136e691 Mon Sep 17 00:00:00 2001 From: "jbudorick@chromium.org" Date: Thu, 20 Mar 2014 23:09:28 +0000 Subject: [Android] Lint build/android/gyp/. BUG=168518 Review URL: https://codereview.chromium.org/197693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258451 0039d316-1c4b-4281-b951-d872f2087c98 --- build/android/gyp/jar_toc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build/android/gyp/jar_toc.py') diff --git a/build/android/gyp/jar_toc.py b/build/android/gyp/jar_toc.py index ca3152f..1122f68 100755 --- a/build/android/gyp/jar_toc.py +++ b/build/android/gyp/jar_toc.py @@ -18,7 +18,6 @@ rebuild, will have a corresponding change in the TOC file. """ import optparse -import os import re import sys import zipfile @@ -91,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.') @@ -106,4 +105,4 @@ def main(argv): if __name__ == '__main__': - sys.exit(main(sys.argv)) + sys.exit(main()) -- cgit v1.1