summaryrefslogtreecommitdiff
path: root/paste/util
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-19 21:03:21 +0000
committercce <devnull@localhost>2005-12-19 21:03:21 +0000
commitb59aae4d1d293c3f7fc37ec886656885be341456 (patch)
treeb2bacab81d4b14534804aa5859ce7485f9a0269b /paste/util
parent0a8c2b8009b0c410aa36aaebf60f8f315dc4b3cd (diff)
downloadpaste-b59aae4d1d293c3f7fc37ec886656885be341456.tar.gz
removing unnecessary paste.exception stuff from httpserver
Diffstat (limited to 'paste/util')
-rwxr-xr-xpaste/util/httpserver.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/paste/util/httpserver.py b/paste/util/httpserver.py
index dd2be43..06b4901 100755
--- a/paste/util/httpserver.py
+++ b/paste/util/httpserver.py
@@ -10,15 +10,7 @@ if pyOpenSSL is installed, it also provides SSL capabilities.
"""
import BaseHTTPServer, SocketServer
-import urlparse
-import sys
-import socket
-
-try:
- from paste.httpexceptions import HTTPServerError
-except ImportError:
- # so we can run this module independent of paste
- HTTPServerError = RuntimeError
+import urlparse, sys, socket
__all__ = ['WSGIHandlerMixin','WSGIServer','WSGIHandler', 'serve']
__version__ = "0.2"