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

Unified Diff: tools/binary_size/helpers.py

Issue 2778963003: Revert of V2 of //tools/binary_size rewrite (diffs). (Closed)
Patch Set: Created 3 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
« no previous file with comments | « tools/binary_size/function_signature_test.py ('k') | tools/binary_size/integration_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/helpers.py
diff --git a/tools/binary_size/helpers.py b/tools/binary_size/helpers.py
index c1f9f00f6cbf16250a9df5b4efbc78bd34ddf8fd..021dac82cb3a8f4b2f49ffc1a1da0ef92b09a615 100644
--- a/tools/binary_size/helpers.py
+++ b/tools/binary_size/helpers.py
@@ -16,7 +16,7 @@
SRC_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
-def AddCommonOptionsAndParseArgs(parser, argv):
+def AddCommonOptionsAndParseArgs(parser):
parser.add_argument('--no-pypy', action='store_true',
help='Do not automatically switch to pypy when available')
parser.add_argument('-v',
@@ -24,7 +24,8 @@
default=0,
action='count',
help='Verbose level (multiple times for more)')
- args = parser.parse_args(argv[1:])
+
+ args = parser.parse_args()
logging.basicConfig(level=logging.WARNING - args.verbose * 10,
format='%(levelname).1s %(relativeCreated)6d %(message)s')
« no previous file with comments | « tools/binary_size/function_signature_test.py ('k') | tools/binary_size/integration_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698