diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-13 00:00:34 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-13 00:10:06 -0700 |
commit | c26b716164d123b177fd069b9e04cb07eab79b56 (patch) | |
tree | 64bb5393ecb99f061a65812bac1f423ed733b1fd /sleekxmpp/plugins/old_0060.py | |
parent | dcaddb804221790e778742f3f5ef22464608cc87 (diff) | |
download | slixmpp-c26b716164d123b177fd069b9e04cb07eab79b56.tar.gz slixmpp-c26b716164d123b177fd069b9e04cb07eab79b56.tar.bz2 slixmpp-c26b716164d123b177fd069b9e04cb07eab79b56.tar.xz slixmpp-c26b716164d123b177fd069b9e04cb07eab79b56.zip |
Update XEP-0050 to use new IQ exceptions.
IqError is now caught and forwarded to the command error handler referenced
in the session.
Errors are now caught and processed by the session's error handler
whether or not the results Iq stanza includes the <command> substanza.
Added the option for blocking command calls. The blocking option is set
during start_command with block=True. Subsequent command flow methods use
session['block'] to determine their blocking behaviour.
If you use blocking commands, then you will need to wrap your command calls
in a try/except block for IqTimeout exceptions.
Diffstat (limited to 'sleekxmpp/plugins/old_0060.py')
0 files changed, 0 insertions, 0 deletions