diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:06 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:44 +0100 |
commit | dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (patch) | |
tree | 2fcadd89e8d8244a22769edd57426c8e2146d2ad /slixmpp/plugins/xep_0107/stanza.py | |
parent | c4285961df7004f6c54d6d38960c4c075d0877b6 (diff) | |
download | slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.gz slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.bz2 slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.xz slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.zip |
sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/plugins/xep_0107/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0107/stanza.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0107/stanza.py b/slixmpp/plugins/xep_0107/stanza.py index 05967de9..ea5a799a 100644 --- a/slixmpp/plugins/xep_0107/stanza.py +++ b/slixmpp/plugins/xep_0107/stanza.py @@ -14,8 +14,8 @@ class UserMood(ElementBase): name = 'mood' namespace = 'http://jabber.org/protocol/mood' plugin_attrib = 'mood' - interfaces = set(['value', 'text']) - sub_interfaces = set(['text']) + interfaces = {'value', 'text'} + sub_interfaces = {'text'} moods = set(['afraid', 'amazed', 'amorous', 'angry', 'annoyed', 'anxious', 'aroused', 'ashamed', 'bored', 'brave', 'calm', 'cautious', 'cold', 'confident', 'confused', 'contemplative', 'contented', |