diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:35:54 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:35:54 +0100 |
commit | f4683546d942f8e7ce3e31d40a8c51a1b73ebda5 (patch) | |
tree | 9239608ac4ab572489d31065c00ff9aa663bb7f9 /slixmpp/plugins/xep_0016 | |
parent | dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff) | |
download | slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.gz slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.bz2 slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.xz slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.zip |
Manual cleanup of the remaining set([…]) and set((…)).compiler
Diffstat (limited to 'slixmpp/plugins/xep_0016')
-rw-r--r-- | slixmpp/plugins/xep_0016/stanza.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0016/stanza.py b/slixmpp/plugins/xep_0016/stanza.py index 9a2cfa9f..2fb3d03a 100644 --- a/slixmpp/plugins/xep_0016/stanza.py +++ b/slixmpp/plugins/xep_0016/stanza.py @@ -55,8 +55,8 @@ class Item(ElementBase): namespace = 'jabber:iq:privacy' plugin_attrib = name plugin_multi_attrib = 'items' - interfaces = set(['type', 'value', 'action', 'order', 'iq', - 'message', 'presence_in', 'presence_out']) + interfaces = {'type', 'value', 'action', 'order', 'iq', + 'message', 'presence_in', 'presence_out'} bool_interfaces = {'message', 'iq', 'presence_in', 'presence_out'} type_values = ('', 'jid', 'group', 'subscription') |