From 7ba6915b498e89f213c68f3276fc05fd0147525e 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 --- cloud/lxd/lxd_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/lxd/lxd_container.py b/cloud/lxd/lxd_container.py index b9cf4e60106..782a51a5f82 100644 --- a/cloud/lxd/lxd_container.py +++ b/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):