aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/compat.py')
-rw-r--r--setuptools/compat.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/compat.py b/setuptools/compat.py
index 6d4ea539..27d472b5 100644
--- a/setuptools/compat.py
+++ b/setuptools/compat.py
@@ -16,6 +16,7 @@ if sys.version_info[0] < 3:
import httplib
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
+ from BaseHTTPServer import BaseHTTPRequestHandler
iteritems = lambda o: o.iteritems()
long_type = long
maxsize = sys.maxint
@@ -57,6 +58,7 @@ else:
from html.entities import name2codepoint
import http.client as httplib
from http.server import HTTPServer, SimpleHTTPRequestHandler
+ from http.server import BaseHTTPRequestHandler
iteritems = lambda o: o.items()
long_type = int
maxsize = sys.maxsize