Commits

Andriy Kornatskyy committed a0639d6

Fixed compatibility issue with python2.4.

Comments (0)

Files changed (1)

src/wheezy/core/httpclient.py

         r = urlparse(url)
         self.connection = HTTPConnection(r[1])  # netloc
         self.default_headers = headers and headers or {}
-        self.path = r.path
+        self.path = r[2]  # path
         self.method = None
         self.headers = None
         self.cookies = {}