diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:49:27 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:49:27 +0100 |
commit | 9789a96ca9aab44bd71fdcfc5c0bed1ef7cf0838 (patch) | |
tree | 543718d130e12237d431dc61a3ce62769ff1c312 /paste/evalexception | |
parent | 4bdb495a250dc8b44309a8d158fb60a8106e3287 (diff) | |
download | paste-9789a96ca9aab44bd71fdcfc5c0bed1ef7cf0838.tar.gz |
Python 3: add parenthesis to print() to support Python 2 and Python 3
Use also "from __future__ import print_function".
Diffstat (limited to 'paste/evalexception')
-rw-r--r-- | paste/evalexception/middleware.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/paste/evalexception/middleware.py b/paste/evalexception/middleware.py index 455758a..d577003 100644 --- a/paste/evalexception/middleware.py +++ b/paste/evalexception/middleware.py @@ -24,6 +24,9 @@ can look for the header X-Debug-URL in your 500 responses if you want to see the full debuggable traceback. Also, this URL is printed to ``wsgi.errors``, so you can open it up in another browser window. """ + +from __future__ import print_function + import sys import os import cgi |