From 9e17392183861a2b8b64abb4d528c79613ad3d57 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 18 May 2018 19:20:05 +0000 Subject: Fix small typo in common.py This causes a crash if running verbose mode Change-Id: Ib5fe3dada8c81874aae110e21252edad05668a36 Reviewed-on: https://pdfium-review.googlesource.com/32737 Reviewed-by: Henrique Nakashima Commit-Queue: Henrique Nakashima Commit-Queue: Ryan Harrison --- testing/tools/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/tools/common.py b/testing/tools/common.py index fc16004210..da3cac8a43 100755 --- a/testing/tools/common.py +++ b/testing/tools/common.py @@ -141,7 +141,7 @@ def GetBooleanGnArg(arg_name, build_dir, verbose=False): os.chdir(cwd) arg_match_output = re.search('%s = (.*)' % arg_name, gn_args_output).group(1) if verbose: - print >> sys.stderr, "Found '%s' for value of %s" % (arg_match_output, arg) + print >> sys.stderr, "Found '%s' for value of %s" % (arg_match_output, arg_name) return arg_match_output == 'true' -- cgit v1.2.3