Index: build/android/findbugs_diff.py |
diff --git a/build/android/findbugs_diff.py b/build/android/findbugs_diff.py |
index 28224f1a3871c59dfe53e58c25a7140bc781834d..eb117da36cfe02ccca20efa2c4316e4f477cab00 100755 |
--- a/build/android/findbugs_diff.py |
+++ b/build/android/findbugs_diff.py |
@@ -24,6 +24,7 @@ Run |
""" |
+import optparse |
import os |
import sys |
@@ -31,7 +32,7 @@ from pylib import constants |
from pylib.utils import findbugs |
-def main(): |
+def main(argv): |
parser = findbugs.GetCommonParser() |
options, _ = parser.parse_args() |
@@ -46,4 +47,4 @@ def main(): |
if __name__ == '__main__': |
- sys.exit(main()) |
+ sys.exit(main(sys.argv)) |