1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Can't use super on old style classes

This commit is contained in:
jpic 2016-06-28 12:38:40 +02:00 committed by Matt Clay
parent a982b95846
commit 776a748eb4

View file

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