Index: build/android/lint/suppress.py |
diff --git a/build/android/lint/suppress.py b/build/android/lint/suppress.py |
index 52d7579b964bc3a8c852541850f1477c6b363ab6..9664ffda6652e42cbc5edc6b6ba51e10f50b67b7 100755 |
--- a/build/android/lint/suppress.py |
+++ b/build/android/lint/suppress.py |
@@ -101,7 +101,7 @@ def _Suppress(config_path, result_path): |
_WriteConfigFile(config_path, issues_dict) |
-def main(): |
+def main(argv): |
parser = optparse.OptionParser(usage='%prog RESULT-FILE') |
_, args = parser.parse_args() |
@@ -112,4 +112,4 @@ def main(): |
if __name__ == '__main__': |
- main() |
+ main(sys.argv) |