summaryrefslogtreecommitdiffstats
path: root/Demo/scripts/pp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/scripts/pp.py')
-rwxr-xr-xDemo/scripts/pp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/pp.py b/Demo/scripts/pp.py
index 0491fa9..2530ea3 100755
--- a/Demo/scripts/pp.py
+++ b/Demo/scripts/pp.py
@@ -35,7 +35,7 @@ PFLAG = 0
try:
optlist, ARGS = getopt.getopt(sys.argv[1:], 'acde:F:np')
-except getopt.error, msg:
+except getopt.error as msg:
sys.stderr.write(sys.argv[0] + ': ' + msg + '\n')
sys.exit(2)