From 1038f656eb1f766983a5869611daab447817a6ac Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:20:10 +0100 Subject: sed -i 's/set((\(.*\),))$/{\1}/g' **/*.py --- slixmpp/stanza/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/stanza') diff --git a/slixmpp/stanza/error.py b/slixmpp/stanza/error.py index 67f736c0..1499c652 100644 --- a/slixmpp/stanza/error.py +++ b/slixmpp/stanza/error.py @@ -53,7 +53,7 @@ class Error(ElementBase): plugin_attrib = 'error' interfaces = set(('code', 'condition', 'text', 'type', 'gone', 'redirect', 'by')) - sub_interfaces = set(('text',)) + sub_interfaces = {'text'} plugin_attrib_map = {} plugin_tag_map = {} conditions = set(('bad-request', 'conflict', 'feature-not-implemented', -- cgit v1.2.3