aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:13 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:13 +1200
commit4ed5043c67848bf717e48bc509d959422c8faeb6 (patch)
tree92abe731c72d34bf6b43cbe1ecb46939953a6860 /libpathod/app.py
parent904760c6c2927caf49b7cbe4027dd1c8dd8e9fdb (diff)
downloadmitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.gz
mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.tar.bz2
mitmproxy-4ed5043c67848bf717e48bc509d959422c8faeb6.zip
Add coding style check, reformat.
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)