summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0030/stanza/items.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:20:27 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:42 +0100
commitc4285961df7004f6c54d6d38960c4c075d0877b6 (patch)
tree62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/plugins/xep_0030/stanza/items.py
parent1038f656eb1f766983a5869611daab447817a6ac (diff)
downloadslixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.gz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.bz2
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.xz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.zip
sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/plugins/xep_0030/stanza/items.py')
-rw-r--r--slixmpp/plugins/xep_0030/stanza/items.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0030/stanza/items.py b/slixmpp/plugins/xep_0030/stanza/items.py
index 314ab9b3..a59d9114 100644
--- a/slixmpp/plugins/xep_0030/stanza/items.py
+++ b/slixmpp/plugins/xep_0030/stanza/items.py
@@ -45,7 +45,7 @@ class DiscoItems(ElementBase):
name = 'query'
namespace = 'http://jabber.org/protocol/disco#items'
plugin_attrib = 'disco_items'
- interfaces = set(('node', 'items'))
+ interfaces = {'node', 'items'}
# Cache items
_items = set()
@@ -138,7 +138,7 @@ class DiscoItem(ElementBase):
name = 'item'
namespace = 'http://jabber.org/protocol/disco#items'
plugin_attrib = name
- interfaces = set(('jid', 'node', 'name'))
+ interfaces = {'jid', 'node', 'name'}
def get_node(self):
"""Return the item's node name or ``None``."""