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_0231/stanza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/plugins/xep_0231') diff --git a/slixmpp/plugins/xep_0231/stanza.py b/slixmpp/plugins/xep_0231/stanza.py index b3b96eff..3de99aac 100644 --- a/slixmpp/plugins/xep_0231/stanza.py +++ b/slixmpp/plugins/xep_0231/stanza.py @@ -18,7 +18,7 @@ class BitsOfBinary(ElementBase): name = 'data' namespace = 'urn:xmpp:bob' plugin_attrib = 'bob' - interfaces = set(('cid', 'max_age', 'type', 'data')) + interfaces = {'cid', 'max_age', 'type', 'data'} def get_max_age(self): return int(self._get_attr('max-age')) -- cgit v1.2.3