diff options
| author | cce <devnull@localhost> | 2005-12-19 21:03:21 +0000 |
|---|---|---|
| committer | cce <devnull@localhost> | 2005-12-19 21:03:21 +0000 |
| commit | b59aae4d1d293c3f7fc37ec886656885be341456 (patch) | |
| tree | b2bacab81d4b14534804aa5859ce7485f9a0269b /paste/util | |
| parent | 0a8c2b8009b0c410aa36aaebf60f8f315dc4b3cd (diff) | |
| download | paste-b59aae4d1d293c3f7fc37ec886656885be341456.tar.gz | |
removing unnecessary paste.exception stuff from httpserver
Diffstat (limited to 'paste/util')
| -rwxr-xr-x | paste/util/httpserver.py | 10 |
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" |
