From 46a90749f839c3d64aa05458cef825f56e9c702d Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 30 Sep 2016 21:25:36 +0200 Subject: Fix uses of super() in the codebase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #3165, we don’t need to use the long form to get the superobject in our supported python versions. --- examples/pubsub_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pubsub_events.py') diff --git a/examples/pubsub_events.py b/examples/pubsub_events.py index 369d7114..e2fdc9cf 100755 --- a/examples/pubsub_events.py +++ b/examples/pubsub_events.py @@ -14,7 +14,7 @@ from slixmpp.xmlstream.handler import Callback class PubsubEvents(slixmpp.ClientXMPP): def __init__(self, jid, password): - super(PubsubEvents, self).__init__(jid, password) + super().__init__(jid, password) self.register_plugin('xep_0030') self.register_plugin('xep_0059') -- cgit v1.2.3