From 5ec4e4a026a5f3a3ec9c2cb6efd3dc1a4ccf580f Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 31 Aug 2011 00:40:33 -0700 Subject: Added pubsub error stanza. iq['error']['pubsub']['condition'] iq['error']['pubsub']['unsupported'] --- sleekxmpp/stanza/error.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sleekxmpp/stanza') 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', -- cgit v1.2.3