diff options
author | Lance Stout <lancestout@gmail.com> | 2011-09-01 14:03:11 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-09-01 14:03:11 -0700 |
commit | 39ec1cff1987405213a026b1311f09e891f39fd6 (patch) | |
tree | 9715e48d674de8678190a22383b21f6dda965871 /sleekxmpp/plugins/xep_0060/stanza/pubsub.py | |
parent | 24c5f8d374b78ff5efca967953155b46a38949e6 (diff) | |
download | slixmpp-39ec1cff1987405213a026b1311f09e891f39fd6.tar.gz slixmpp-39ec1cff1987405213a026b1311f09e891f39fd6.tar.bz2 slixmpp-39ec1cff1987405213a026b1311f09e891f39fd6.tar.xz slixmpp-39ec1cff1987405213a026b1311f09e891f39fd6.zip |
Some more minor cleanup.
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/stanza/pubsub.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0060/stanza/pubsub.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub.py index 45781c44..f7563ecb 100644 --- a/sleekxmpp/plugins/xep_0060/stanza/pubsub.py +++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub.py @@ -15,14 +15,14 @@ from sleekxmpp.plugins.xep_0060.stanza.base import OptionalSetting class Pubsub(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'pubsub' - plugin_attrib = 'pubsub' + plugin_attrib = name interfaces = set(tuple()) class Affiliations(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'affiliations' - plugin_attrib = 'affiliations' + plugin_attrib = name interfaces = set(('node',)) @@ -55,7 +55,7 @@ class Subscription(ElementBase): class Subscriptions(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'subscriptions' - plugin_attrib = 'subscriptions' + plugin_attrib = name interfaces = set(('node',)) @@ -89,7 +89,7 @@ class Item(ElementBase): class Items(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'items' - plugin_attrib = 'items' + plugin_attrib = name interfaces = set(('node', 'max_items')) def set_max_items(self, value): @@ -189,7 +189,7 @@ class Configure(ElementBase): class Options(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'options' - plugin_attrib = 'options' + plugin_attrib = name interfaces = set(('jid', 'node', 'options')) def __init__(self, *args, **kwargs): |