diff options
author | mathieui <mathieui@mathieui.net> | 2016-09-30 21:25:36 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-09-30 21:25:36 +0200 |
commit | 46a90749f839c3d64aa05458cef825f56e9c702d (patch) | |
tree | 207a8e9228f6b6b7efde2cef405bf712a505860e /examples/user_tune.py | |
parent | 0c63a4bbdafcb557430e02f774dc88c5f2a974c1 (diff) | |
download | slixmpp-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/user_tune.py')
-rwxr-xr-x | examples/user_tune.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/user_tune.py b/examples/user_tune.py index 3f5e1c9e..6aa0da8e 100755 --- a/examples/user_tune.py +++ b/examples/user_tune.py @@ -17,7 +17,7 @@ from slixmpp import ClientXMPP class TuneBot(ClientXMPP): def __init__(self, jid, password): - super(TuneBot, self).__init__(jid, password) + super().__init__(jid, password) # Check for the current song every 5 seconds. self.schedule('Check Current Tune', 5, self._update_tune, repeat=True) |