summaryrefslogtreecommitdiff
path: root/cherrypy/_cpcompat.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-07-09 05:58:30 -0400
committerJason R. Coombs <jaraco@jaraco.com>2017-07-09 05:58:30 -0400
commit272514b7ed77222391521a839ebb31c2d22d918d (patch)
tree28cf7dec96d1a41774e76fca04798db43af14061 /cherrypy/_cpcompat.py
parent5a887dbbf0e252100317408d7437d47b995739d0 (diff)
downloadcherrypy-git-272514b7ed77222391521a839ebb31c2d22d918d.tar.gz
Use six to import builtins
Diffstat (limited to 'cherrypy/_cpcompat.py')
-rw-r--r--cherrypy/_cpcompat.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/cherrypy/_cpcompat.py b/cherrypy/_cpcompat.py
index d1cfbfe6..623825f2 100644
--- a/cherrypy/_cpcompat.py
+++ b/cherrypy/_cpcompat.py
@@ -130,14 +130,6 @@ except ImportError:
from urllib2 import parse_http_list, parse_keqv_list # noqa
-try:
- # Python 3
- import builtins
-except ImportError:
- # Python 2
- import __builtin__ as builtins # noqa
-
-
# Some platforms don't expose HTTPSConnection, so handle it separately
HTTPSConnection = getattr(six.moves.http_client, 'HTTPSConnection', None)