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/errordocument.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/errordocument.py')
-rw-r--r-- | paste/errordocument.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/errordocument.py b/paste/errordocument.py index 731449f..faa6425 100644 --- a/paste/errordocument.py +++ b/paste/errordocument.py @@ -14,6 +14,7 @@ from urllib import urlencode from urlparse import urlparse from paste.wsgilib import chained_app_iters from paste.recursive import ForwardRequestException, RecursiveMiddleware +from paste.util import converters def forward(app, codes): """ @@ -136,7 +137,6 @@ class StatusBasedForward: # @@: global_conf shouldn't really come in here, only in a # separate make_status_based_forward function if global_conf: - from paste.deploy import converters self.debug = converters.asbool(global_conf.get('debug', False)) else: self.debug = False |