Update docker-py

From 2014572941
This commit is contained in:
Ben Firshman 2014-01-28 13:42:18 +00:00
commit 21837ac132
3 changed files with 9 additions and 8 deletions

View file

@ -36,7 +36,7 @@ class UnixHTTPConnection(httplib.HTTPConnection, object):
def connect(self):
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
sock.settimeout(self.timeout)
sock.connect(self.base_url.replace("unix:/", ""))
sock.connect(self.base_url.replace("http+unix:/", ""))
self.sock = sock
def _extract_path(self, url):