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

@@ -22,7 +22,7 @@ from slixmpp import ClientXMPP
class LocationBot(ClientXMPP):
def __init__(self, jid, password):
super(LocationBot, self).__init__(jid, password)
super().__init__(jid, password)
self.add_event_handler('session_start', self.start)
self.add_event_handler('user_location_publish',