diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py index b9cf4e60106..782a51a5f82 100644 --- a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py +++ b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py @@ -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):