From 5f84df96d46ffd2384525031b16bd434d432ea3f Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 13 Dec 2011 17:02:00 -0800 Subject: [PATCH] python 2.5 compatibility --- tests/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_tests.py b/tests/run_tests.py index f1f9c222d..a4be7190d 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -12,7 +12,7 @@ def usage(): def main(): try: opts, args = getopt.getopt(sys.argv[1:], "hvqp:", ["help", "prefix="]) - except getopt.GetoptError as err: + except getopt.GetoptError,err: print(str(err)) usage() sys.exit(2)