From c4285961df7004f6c54d6d38960c4c075d0877b6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:20:27 +0100 Subject: sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py --- slixmpp/plugins/xep_0203/stanza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/plugins/xep_0203') diff --git a/slixmpp/plugins/xep_0203/stanza.py b/slixmpp/plugins/xep_0203/stanza.py index de907c69..5daed864 100644 --- a/slixmpp/plugins/xep_0203/stanza.py +++ b/slixmpp/plugins/xep_0203/stanza.py @@ -18,7 +18,7 @@ class Delay(ElementBase): name = 'delay' namespace = 'urn:xmpp:delay' plugin_attrib = 'delay' - interfaces = set(('from', 'stamp', 'text')) + interfaces = {'from', 'stamp', 'text'} def get_from(self): from_ = self._get_attr('from') -- cgit v1.2.3