diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:20:27 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:42 +0100 |
commit | c4285961df7004f6c54d6d38960c4c075d0877b6 (patch) | |
tree | 62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/plugins/xep_0045.py | |
parent | 1038f656eb1f766983a5869611daab447817a6ac (diff) | |
download | slixmpp-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_0045.py')
-rw-r--r-- | slixmpp/plugins/xep_0045.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0045.py b/slixmpp/plugins/xep_0045.py index 942ba22a..ce4631ef 100644 --- a/slixmpp/plugins/xep_0045.py +++ b/slixmpp/plugins/xep_0045.py @@ -25,9 +25,9 @@ class MUCPresence(ElementBase): name = 'x' namespace = 'http://jabber.org/protocol/muc#user' plugin_attrib = 'muc' - interfaces = set(('affiliation', 'role', 'jid', 'nick', 'room')) - affiliations = set(('', )) - roles = set(('', )) + interfaces = {'affiliation', 'role', 'jid', 'nick', 'room'} + affiliations = {'', } + roles = {'', } def get_xml_item(self): item = self.xml.find('{http://jabber.org/protocol/muc#user}item') |