diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:20:10 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:41 +0100 |
commit | 1038f656eb1f766983a5869611daab447817a6ac (patch) | |
tree | f420c11c601f99ab9dfc89f55bd1607d8d13f44f /slixmpp/stanza | |
parent | 3c7236fe73d5fc966a6493f560634c71480aab20 (diff) | |
download | slixmpp-1038f656eb1f766983a5869611daab447817a6ac.tar.gz slixmpp-1038f656eb1f766983a5869611daab447817a6ac.tar.bz2 slixmpp-1038f656eb1f766983a5869611daab447817a6ac.tar.xz slixmpp-1038f656eb1f766983a5869611daab447817a6ac.zip |
sed -i 's/set((\(.*\),))$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/stanza')
-rw-r--r-- | slixmpp/stanza/error.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', |