diff options
author | cce <devnull@localhost> | 2006-09-21 05:46:57 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2006-09-21 05:46:57 +0000 |
commit | 3559f127031598b0dcc2a243454d2c15309a109b (patch) | |
tree | adbc46bdde0022b8d751d173dfb0065c7319dcaa /paste/cgitb_catcher.py | |
parent | 9e4f83947cdb42dffdff973d0b9b12a2f775e3b1 (diff) | |
download | paste-3559f127031598b0dcc2a243454d2c15309a109b.tar.gz |
Paste should not depend upon other paste modules, such
as Deploy. This patch moves 'converters' into paste.util
since it was being used within paste proper. I'll leave
it to those who know Deploy to update that.
- copied converters.py from paste.deploy to paste.util
- updated files that use paste.deploy.converters
Diffstat (limited to 'paste/cgitb_catcher.py')
-rw-r--r-- | paste/cgitb_catcher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/paste/cgitb_catcher.py b/paste/cgitb_catcher.py index 80bde5d..9492498 100644 --- a/paste/cgitb_catcher.py +++ b/paste/cgitb_catcher.py @@ -13,6 +13,8 @@ import cgitb from cStringIO import StringIO import sys +from paste.util import converters + class NoDefault: pass @@ -30,7 +32,6 @@ class CgitbMiddleware(object): if display is NoDefault: display = global_conf.get('debug') if isinstance(display, basestring): - from paste.deploy import converters display = converters.asbool(display) self.display = display self.logdir = logdir |