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.
This commit is contained in:
mathieui
2016-09-30 21:25:36 +02:00
parent 0c63a4bbda
commit 46a90749f8
9 changed files with 12 additions and 12 deletions

View File

@@ -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')