summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0060/stanza/pubsub_owner.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0060/stanza/pubsub_owner.py')
-rw-r--r--slixmpp/plugins/xep_0060/stanza/pubsub_owner.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/slixmpp/plugins/xep_0060/stanza/pubsub_owner.py b/slixmpp/plugins/xep_0060/stanza/pubsub_owner.py
index 402e5e30..850df8cf 100644
--- a/slixmpp/plugins/xep_0060/stanza/pubsub_owner.py
+++ b/slixmpp/plugins/xep_0060/stanza/pubsub_owner.py
@@ -25,7 +25,7 @@ class DefaultConfig(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'default'
plugin_attrib = name
- interfaces = set(('node', 'config'))
+ interfaces = {'node', 'config'}
def __init__(self, *args, **kwargs):
ElementBase.__init__(self, *args, **kwargs)
@@ -41,7 +41,7 @@ class DefaultConfig(ElementBase):
class OwnerAffiliations(Affiliations):
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('node',))
+ interfaces = {'node'}
def append(self, affiliation):
if not isinstance(affiliation, OwnerAffiliation):
@@ -51,40 +51,40 @@ class OwnerAffiliations(Affiliations):
class OwnerAffiliation(Affiliation):
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('affiliation', 'jid'))
+ interfaces = {'affiliation', 'jid'}
class OwnerConfigure(Configure):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'configure'
plugin_attrib = name
- interfaces = set(('node',))
+ interfaces = {'node'}
class OwnerDefault(OwnerConfigure):
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('node',))
+ interfaces = {'node'}
class OwnerDelete(ElementBase, OptionalSetting):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'delete'
plugin_attrib = name
- interfaces = set(('node',))
+ interfaces = {'node'}
class OwnerPurge(ElementBase, OptionalSetting):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'purge'
plugin_attrib = name
- interfaces = set(('node',))
+ interfaces = {'node'}
class OwnerRedirect(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'redirect'
plugin_attrib = name
- interfaces = set(('node', 'jid'))
+ interfaces = {'node', 'jid'}
def set_jid(self, value):
self._set_attr('jid', str(value))
@@ -97,7 +97,7 @@ class OwnerSubscriptions(Subscriptions):
name = 'subscriptions'
namespace = 'http://jabber.org/protocol/pubsub#owner'
plugin_attrib = name
- interfaces = set(('node',))
+ interfaces = {'node'}
def append(self, subscription):
if not isinstance(subscription, OwnerSubscription):
@@ -109,7 +109,7 @@ class OwnerSubscription(ElementBase):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'subscription'
plugin_attrib = name
- interfaces = set(('jid', 'subscription'))
+ interfaces = {'jid', 'subscription'}
def set_jid(self, value):
self._set_attr('jid', str(value))