diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-30 17:26:39 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-07-30 17:35:21 +0200 |
commit | 39c8319ec4c155e7323429ccbf56984d85a195a6 (patch) | |
tree | e54573393afa37a2e3274f8a1a7211352dc70094 /src/core | |
parent | ecf22cb4a4261b1fbbe893a0ec1bf185fcc02db8 (diff) | |
download | poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.gz poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.bz2 poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.tar.xz poezio-39c8319ec4c155e7323429ccbf56984d85a195a6.zip |
Fix a bunch of iq.send() by removing the `block` argument
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/commands.py | 6 | ||||
-rw-r--r-- | src/core/core.py | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/core/commands.py b/src/core/commands.py index c7d900c3..5254464a 100644 --- a/src/core/commands.py +++ b/src/core/commands.py @@ -815,11 +815,11 @@ def command_quit(self, arg=''): else: msg = None if config.get('enable_user_mood', True): - self.xmpp.plugin['xep_0107'].stop(block=False) + self.xmpp.plugin['xep_0107'].stop() if config.get('enable_user_activity', True): - self.xmpp.plugin['xep_0108'].stop(block=False) + self.xmpp.plugin['xep_0108'].stop() if config.get('enable_user_gaming', True): - self.xmpp.plugin['xep_0196'].stop(block=False) + self.xmpp.plugin['xep_0196'].stop() self.save_config() self.plugin_manager.disable_plugins() self.disconnect(msg) diff --git a/src/core/core.py b/src/core/core.py index feccd01c..c2996b5d 100644 --- a/src/core/core.py +++ b/src/core/core.py @@ -423,11 +423,11 @@ class Core(object): log.error("%s received. Exiting…", signals[sig]) if config.get('enable_user_mood', True): - self.xmpp.plugin['xep_0107'].stop(block=False) + self.xmpp.plugin['xep_0107'].stop() if config.get('enable_user_activity', True): - self.xmpp.plugin['xep_0108'].stop(block=False) + self.xmpp.plugin['xep_0108'].stop() if config.get('enable_user_gaming', True): - self.xmpp.plugin['xep_0196'].stop(block=False) + self.xmpp.plugin['xep_0196'].stop() self.plugin_manager.disable_plugins() self.disconnect('%s received' % signals.get(sig)) self.xmpp.add_event_handler("disconnected", self.exit, disposable=True) |