diff options
author | Lance stout <lancestout@gmail.com> | 2010-05-28 22:26:20 +0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-05-31 05:30:48 +0800 |
commit | 938066bd504ea9b1c47c1ead757fac42e1ef5726 (patch) | |
tree | 758a9b1a0059c86774dc20f3e3b9e300174c317d /sleekxmpp/stanza/error.py | |
parent | 9fee87c25863956370a36ac87741c1f4cec5e23d (diff) | |
download | slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.gz slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.bz2 slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.tar.xz slixmpp-938066bd504ea9b1c47c1ead757fac42e1ef5726.zip |
Added 'resource-constraint' to the list of error conditions.
Diffstat (limited to 'sleekxmpp/stanza/error.py')
-rw-r--r-- | sleekxmpp/stanza/error.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/stanza/error.py b/sleekxmpp/stanza/error.py index f87b6490..1f4b3d88 100644 --- a/sleekxmpp/stanza/error.py +++ b/sleekxmpp/stanza/error.py @@ -11,7 +11,7 @@ class Error(ElementBase): namespace = 'jabber:client' name = 'error' plugin_attrib = 'error' - conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'item-not-found', 'jid-malformed', 'not-acceptable', 'not-allowed', 'not-authorized', 'payment-required', 'recipient-unavailable', 'redirect', 'registration-required', 'remote-server-not-found', 'remote-server-timeout', 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request')) + conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'item-not-found', 'jid-malformed', 'not-acceptable', 'not-allowed', 'not-authorized', 'payment-required', 'recipient-unavailable', 'redirect', 'registration-required', 'remote-server-not-found', 'remote-server-timeout', 'resource-constraint', 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request')) interfaces = set(('code', 'condition', 'text', 'type')) types = set(('cancel', 'continue', 'modify', 'auth', 'wait')) sub_interfaces = set(('text',)) |