Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Unified Diff: build/android/gyp/dex.py

Issue 197693002: [Android] Lint build/android/gyp/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/gyp/dex.py
diff --git a/build/android/gyp/dex.py b/build/android/gyp/dex.py
index 3be54fa8e38251203e3856b0c966ffd10c82121e..0e8e764a364817bada8c77b300a21c5cd36cd8a8 100755
--- a/build/android/gyp/dex.py
+++ b/build/android/gyp/dex.py
@@ -8,8 +8,10 @@ import optparse
import os
import sys
+# pylint: disable=F0401
from util import build_utils
from util import md5_check
+# pylint: enable=F0401
def DoDex(options, paths):
@@ -30,7 +32,7 @@ def DoDex(options, paths):
build_utils.Touch(options.dex_path)
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--android-sdk-tools',
help='Android sdk build tools directory.')
@@ -55,4 +57,4 @@ def main(argv):
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())

Powered by Google App Engine
This is Rietveld 408576698