From 3559f127031598b0dcc2a243454d2c15309a109b Mon Sep 17 00:00:00 2001 From: cce Date: Thu, 21 Sep 2006 05:46:57 +0000 Subject: 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 --- paste/errordocument.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/errordocument.py') 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 -- cgit v1.2.1