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/stanza/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slixmpp/stanza/error.py') diff --git a/slixmpp/stanza/error.py b/slixmpp/stanza/error.py index 1499c652..145aaa24 100644 --- a/slixmpp/stanza/error.py +++ b/slixmpp/stanza/error.py @@ -66,7 +66,7 @@ class Error(ElementBase): 'service-unavailable', 'subscription-required', 'undefined-condition', 'unexpected-request')) condition_ns = 'urn:ietf:params:xml:ns:xmpp-stanzas' - types = set(('cancel', 'continue', 'modify', 'auth', 'wait')) + types = {'cancel', 'continue', 'modify', 'auth', 'wait'} def setup(self, xml=None): """ -- cgit v1.2.3