Can't use super on old style classes

reviewable/pr18780/r1
jpic 9 years ago
parent f68c1a1071
commit 7ba6915b49

@ -210,7 +210,7 @@ except ImportError:
class UnixHTTPConnection(HTTPConnection): class UnixHTTPConnection(HTTPConnection):
def __init__(self, path, timeout=None): def __init__(self, path, timeout=None):
super(UnixHTTPConnection, self).__init__('localhost', timeout=timeout) HTTPConnection.__init__(self, 'localhost', timeout=timeout)
self.path = path self.path = path
def connect(self): def connect(self):

Loading…
Cancel
Save