Can't use super on old style classes
This commit is contained in:
parent
a982b95846
commit
776a748eb4
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ except ImportError:
|
|||
|
||||
class UnixHTTPConnection(HTTPConnection):
|
||||
def __init__(self, path, timeout=None):
|
||||
super(UnixHTTPConnection, self).__init__('localhost', timeout=timeout)
|
||||
HTTPConnection.__init__(self, 'localhost', timeout=timeout)
|
||||
self.path = path
|
||||
|
||||
def connect(self):
|
||||
|
|
Loading…
Reference in a new issue