summaryrefslogtreecommitdiff
path: root/examples/pubsub_client.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-09-30 21:25:36 +0200
committermathieui <mathieui@mathieui.net>2016-09-30 21:25:36 +0200
commit46a90749f839c3d64aa05458cef825f56e9c702d (patch)
tree207a8e9228f6b6b7efde2cef405bf712a505860e /examples/pubsub_client.py
parent0c63a4bbdafcb557430e02f774dc88c5f2a974c1 (diff)
downloadslixmpp-46a90749f839c3d64aa05458cef825f56e9c702d.tar.gz
slixmpp-46a90749f839c3d64aa05458cef825f56e9c702d.tar.bz2
slixmpp-46a90749f839c3d64aa05458cef825f56e9c702d.tar.xz
slixmpp-46a90749f839c3d64aa05458cef825f56e9c702d.zip
Fix uses of super() in the codebase
Fix #3165, we don’t need to use the long form to get the superobject in our supported python versions.
Diffstat (limited to 'examples/pubsub_client.py')
-rwxr-xr-xexamples/pubsub_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py
index c5688750..d9733036 100755
--- a/examples/pubsub_client.py
+++ b/examples/pubsub_client.py
@@ -15,7 +15,7 @@ class PubsubClient(slixmpp.ClientXMPP):
def __init__(self, jid, password, server,
node=None, action='nodes', data=''):
- super(PubsubClient, self).__init__(jid, password)
+ super().__init__(jid, password)
self.register_plugin('xep_0030')
self.register_plugin('xep_0059')