summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0065/stanza.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0065/stanza.py')
-rw-r--r--slixmpp/plugins/xep_0065/stanza.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0065/stanza.py b/slixmpp/plugins/xep_0065/stanza.py
index 5ba15b32..9701c237 100644
--- a/slixmpp/plugins/xep_0065/stanza.py
+++ b/slixmpp/plugins/xep_0065/stanza.py
@@ -6,8 +6,8 @@ class Socks5(ElementBase):
name = 'query'
namespace = 'http://jabber.org/protocol/bytestreams'
plugin_attrib = 'socks'
- interfaces = set(['sid', 'activate'])
- sub_interfaces = set(['activate'])
+ interfaces = {'sid', 'activate'}
+ sub_interfaces = {'activate'}
def add_streamhost(self, jid, host, port):
sh = StreamHost(parent=self)
@@ -21,7 +21,7 @@ class StreamHost(ElementBase):
namespace = 'http://jabber.org/protocol/bytestreams'
plugin_attrib = 'streamhost'
plugin_multi_attrib = 'streamhosts'
- interfaces = set(['host', 'jid', 'port'])
+ interfaces = {'host', 'jid', 'port'}
def set_jid(self, value):
return self._set_attr('jid', str(value))
@@ -34,7 +34,7 @@ class StreamHostUsed(ElementBase):
name = 'streamhost-used'
namespace = 'http://jabber.org/protocol/bytestreams'
plugin_attrib = 'streamhost_used'
- interfaces = set(['jid'])
+ interfaces = {'jid'}
def set_jid(self, value):
return self._set_attr('jid', str(value))