From 4ed5043c67848bf717e48bc509d959422c8faeb6 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 30 May 2015 12:03:13 +1200 Subject: Add coding style check, reformat. --- libpathod/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpathod/app.py') 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) -- cgit v1.2.3