From 5314a0ed02707f9d2a50e005af52e4f223c6ba6e Mon Sep 17 00:00:00 2001 From: Shawn Pearce Date: Mon, 26 Aug 2013 08:28:09 -0700 Subject: [PATCH] tools/maven/mvn: Fix error message if mvn is not found The correct reference to the action name is args.a. action is an old variable that was replaced by args.a and this reference was missed. Bug: issue 2086 Change-Id: Ibfbf523db8a8adfbf72f31de3ddc7b0ec96014eb --- tools/maven/mvn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/maven/mvn.py b/tools/maven/mvn.py index cea610cbfa..dc098a3cef 100644 --- a/tools/maven/mvn.py +++ b/tools/maven/mvn.py @@ -57,5 +57,5 @@ for spec in args.s: '-Dfile=%s' % src, ]) except Exception as e: - print('%s command failed: %s' % (action, e), file=stderr) + print('%s command failed: %s' % (args.a, e), file=stderr) exit(1)