summaryrefslogtreecommitdiff
path: root/paste/proxy.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2006-09-21 05:46:57 +0000
committercce <devnull@localhost>2006-09-21 05:46:57 +0000
commit3559f127031598b0dcc2a243454d2c15309a109b (patch)
treeadbc46bdde0022b8d751d173dfb0065c7319dcaa /paste/proxy.py
parent9e4f83947cdb42dffdff973d0b9b12a2f775e3b1 (diff)
downloadpaste-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/proxy.py')
-rw-r--r--paste/proxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/proxy.py b/paste/proxy.py
index 97a6d04..ca39b3b 100644
--- a/paste/proxy.py
+++ b/paste/proxy.py
@@ -33,6 +33,7 @@ import httplib
import urlparse
from paste import httpexceptions
+from paste.util.converters import aslist
# Remove these headers from response (specify lower case header
# names):
@@ -131,7 +132,6 @@ def make_proxy(global_conf, address, allowed_request_methods="",
the leading ``http_``) that should not be passed on to target
host
"""
- from paste.deploy.converters import aslist
allowed_request_methods = aslist(allowed_request_methods)
suppress_http_headers = aslist(suppress_http_headers)
return Proxy(