diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 11:38:28 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 11:38:28 +0100 |
commit | a1f64ed3c2d7942ea4b05636cd83eebf8728a183 (patch) | |
tree | e3b975b91ec124fcfdfc61fefb2253db74a26519 /paste/cgitb_catcher.py | |
parent | 4b3635c01d650058227767d2253e32e902cbbed1 (diff) | |
download | paste-a1f64ed3c2d7942ea4b05636cd83eebf8728a183.tar.gz |
Python 3: Replace basestring with six.string_types
Diffstat (limited to 'paste/cgitb_catcher.py')
-rw-r--r-- | paste/cgitb_catcher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/cgitb_catcher.py b/paste/cgitb_catcher.py index 2679d81..55a346f 100644 --- a/paste/cgitb_catcher.py +++ b/paste/cgitb_catcher.py @@ -32,7 +32,7 @@ class CgitbMiddleware(object): global_conf = {} if display is NoDefault: display = global_conf.get('debug') - if isinstance(display, basestring): + if isinstance(display, six.string_types): display = converters.asbool(display) self.display = display self.logdir = logdir |