diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:49:12 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:49:12 +0100 |
commit | 674ae7718bc06a8b8c8b658075bf82c8198fb632 (patch) | |
tree | 0075bace24ead7f03ae7cb18935e4c707f71a860 /paste/recursive.py | |
parent | 3cdb7e4227cbaad690b1c1557c03fa6da0decc36 (diff) | |
download | paste-674ae7718bc06a8b8c8b658075bf82c8198fb632.tar.gz |
Python 3: use new names of standard library modules
Use "try/except ImportError" to try Python 2 and Python 3 names.
Diffstat (limited to 'paste/recursive.py')
-rw-r--r-- | paste/recursive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/recursive.py b/paste/recursive.py index 8ea7038..944b002 100644 --- a/paste/recursive.py +++ b/paste/recursive.py @@ -23,8 +23,8 @@ Raise ``ForwardRequestException(new_path_info)`` to do a forward (aborting the current request). """ -from cStringIO import StringIO import warnings +from six.moves import cStringIO as StringIO __all__ = ['RecursiveMiddleware'] __pudge_all__ = ['RecursiveMiddleware', 'ForwardRequestException'] |