summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0107
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0107')
-rw-r--r--slixmpp/plugins/xep_0107/stanza.py4
-rw-r--r--slixmpp/plugins/xep_0107/user_mood.py2
2 files changed, 3 insertions, 3 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',
diff --git a/slixmpp/plugins/xep_0107/user_mood.py b/slixmpp/plugins/xep_0107/user_mood.py
index c56d15fa..c745671f 100644
--- a/slixmpp/plugins/xep_0107/user_mood.py
+++ b/slixmpp/plugins/xep_0107/user_mood.py
@@ -27,7 +27,7 @@ class XEP_0107(BasePlugin):
name = 'xep_0107'
description = 'XEP-0107: User Mood'
- dependencies = set(['xep_0163'])
+ dependencies = {'xep_0163'}
stanza = stanza
def plugin_init(self):