Index: build/util/version.py |
diff --git a/build/util/version.py b/build/util/version.py |
index b9ab423bd68306bb82c5bbad180f4e5e207218c4..8d446dcd3b653610cf4eb0ade4520347f5247b9e 100755 |
--- a/build/util/version.py |
+++ b/build/util/version.py |
@@ -133,8 +133,8 @@ Usage: version.py [-h] [-f FILE] ([[-i] FILE] | -t TEMPLATE) [[-o] FILE] |
try: |
try: |
opts, args = getopt.getopt(argv[1:], short_options, long_options) |
- except getopt.error, msg: |
- raise Usage(msg) |
+ except getopt.error, err: |
+ raise Usage(err.msg) |
for o, a in opts: |
if o in ('-e', '--eval'): |
try: |