The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/328
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Fix issue with recent commit breaking py27 code. Fixes #327
From 7e710aada88b360cd9e8f5f03084df1c6c4c63ad Mon Sep 17 00:00:00 2001 From: Alex Kavanagh <[email protected]> Date: Wed, 29 Aug 2018 10:06:59 +0100 Subject: [PATCH] Fix super() issue in container.py - breaks py27 Fix issue with recent commit breaking py27 code. Fixes #327 --- pylxd/models/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylxd/models/container.py b/pylxd/models/container.py index 3ba99fd..a985691 100644 --- a/pylxd/models/container.py +++ b/pylxd/models/container.py @@ -546,7 +546,7 @@ class _StdinWebsocket(WebSocketBaseClient): # pragma: no cover def __init__(self, url, payload=None, **kwargs): self.encoding = kwargs.pop('encoding', None) self.payload = payload - super().__init__(url, **kwargs) + super(_StdinWebsocket, self).__init__(url, **kwargs) def _smart_encode(self, msg): if type(msg) == six.text_type and self.encoding:
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
