From dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:21:06 +0100 Subject: sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py --- slixmpp/plugins/xep_0108/stanza.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/plugins/xep_0108/stanza.py') diff --git a/slixmpp/plugins/xep_0108/stanza.py b/slixmpp/plugins/xep_0108/stanza.py index d65dfdf9..a614e2de 100644 --- a/slixmpp/plugins/xep_0108/stanza.py +++ b/slixmpp/plugins/xep_0108/stanza.py @@ -14,8 +14,8 @@ class UserActivity(ElementBase): name = 'activity' namespace = 'http://jabber.org/protocol/activity' plugin_attrib = 'activity' - interfaces = set(['value', 'text']) - sub_interfaces = set(['text']) + interfaces = {'value', 'text'} + sub_interfaces = {'text'} general = set(['doing_chores', 'drinking', 'eating', 'exercising', 'grooming', 'having_appointment', 'inactive', 'relaxing', 'talking', 'traveling', 'undefined', 'working']) -- cgit v1.2.3