diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-31 00:40:33 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-31 00:42:37 -0700 |
commit | 5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f (patch) | |
tree | 6daa500d5778ad3cc46c7e39841c4f1e82a39796 /sleekxmpp/stanza/error.py | |
parent | c3df4dd0520a758837e8d9c51d408efc4d8e6a28 (diff) | |
download | slixmpp-5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f.tar.gz slixmpp-5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f.tar.bz2 slixmpp-5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f.tar.xz slixmpp-5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f.zip |
Added pubsub error stanza.
iq['error']['pubsub']['condition']
iq['error']['pubsub']['unsupported']
Diffstat (limited to 'sleekxmpp/stanza/error.py')
-rw-r--r-- | sleekxmpp/stanza/error.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/stanza/error.py b/sleekxmpp/stanza/error.py index 93231a48..d985f729 100644 --- a/sleekxmpp/stanza/error.py +++ b/sleekxmpp/stanza/error.py @@ -53,6 +53,8 @@ class Error(ElementBase): plugin_attrib = 'error' interfaces = set(('code', 'condition', 'text', 'type')) sub_interfaces = set(('text',)) + plugin_attrib_map = {} + plugin_tag_map = {} conditions = set(('bad-request', 'conflict', 'feature-not-implemented', 'forbidden', 'gone', 'internal-server-error', 'item-not-found', 'jid-malformed', 'not-acceptable', |