summaryrefslogtreecommitdiff
path: root/docker/transport
diff options
context:
space:
mode:
Diffstat (limited to 'docker/transport')
-rw-r--r--docker/transport/unixconn.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/docker/transport/unixconn.py b/docker/transport/unixconn.py
index cc35d00..c59821a 100644
--- a/docker/transport/unixconn.py
+++ b/docker/transport/unixconn.py
@@ -1,14 +1,10 @@
import six
import requests.adapters
import socket
+from six.moves import http_client as httplib
from .. import constants
-if six.PY3:
- import http.client as httplib
-else:
- import httplib
-
try:
import requests.packages.urllib3 as urllib3
except ImportError: