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/user_location.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/user_location.py') diff --git a/examples/user_location.py b/examples/user_location.py index 5a30f7af..7edbeabb 100755 --- a/examples/user_location.py +++ b/examples/user_location.py @@ -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', -- cgit v1.2.3