diff options
author | Lance stout <lancestout@gmail.com> | 2010-05-29 03:22:35 +0800 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2010-05-31 05:30:50 +0800 |
commit | cff3079a04f9f12da5530c68d385d0c0f03af69e (patch) | |
tree | 7ce05915b36de56a86c83d2eacdc9b72c086ce37 /sleekxmpp/stanza/error.py | |
parent | 4f864a07f5629b685b4c21c350916ffd4fba68bf (diff) | |
download | slixmpp-cff3079a04f9f12da5530c68d385d0c0f03af69e.tar.gz slixmpp-cff3079a04f9f12da5530c68d385d0c0f03af69e.tar.bz2 slixmpp-cff3079a04f9f12da5530c68d385d0c0f03af69e.tar.xz slixmpp-cff3079a04f9f12da5530c68d385d0c0f03af69e.zip |
Added missing 'internal-server-error' condition to error stanza interface.
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 1f4b3d88..ee46722a 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', 'resource-constraint', 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request')) + conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'internal-server-error', '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',)) |