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/httpserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/httpserver.py') diff --git a/paste/httpserver.py b/paste/httpserver.py index 29c5f0f..acebe05 100755 --- a/paste/httpserver.py +++ b/paste/httpserver.py @@ -20,6 +20,7 @@ if pyOpenSSL is installed, it also provides SSL capabilities. import errno, socket, sys, threading, urlparse, Queue from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer from SocketServer import ThreadingMixIn +from paste.util import converters __all__ = ['WSGIHandlerMixin','WSGIServer','WSGIHandler', 'serve'] __version__ = "0.5" @@ -546,7 +547,6 @@ def serve(application, host=None, port=None, handler=None, ssl_pem=None, Number of worker threads to create when ``use_threadpool`` is true. This can be a string or an integer value. """ - from paste.deploy import converters ssl_context = None if ssl_pem: assert SSL, "pyOpenSSL is not installed" -- cgit v1.2.1