aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/app.py')
-rw-r--r--libpathod/app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/app.py b/libpathod/app.py
index aec3d95f..20225ff7 100644
--- a/libpathod/app.py
+++ b/libpathod/app.py
@@ -138,7 +138,7 @@ def make_app(noapi, debug):
r = language.parse_requests(spec)[0]
else:
r = language.parse_response(spec)
- except language.ParseException, v:
+ except language.ParseException as v:
args["syntaxerror"] = str(v)
args["marked"] = v.marked()
return render(template, False, **args)