From 776a748eb40b553c5f79afe843483bdf3ad181b7 Mon Sep 17 00:00:00 2001 From: jpic Date: Tue, 28 Jun 2016 12:38:40 +0200 Subject: [PATCH] Can't use super on old style classes --- lib/ansible/modules/extras/cloud/lxd/lxd_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py index b9cf4e6010..782a51a5f8 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):