Merge pull request #3 from jpic/lxd_container_contrib

Can't use super on old style classes
This commit is contained in:
Hiroaki Nakamura 2016-06-28 20:53:41 +09:00 committed by GitHub
commit 7f327cce15

View file

@ -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):