From f4683546d942f8e7ce3e31d40a8c51a1b73ebda5 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:35:54 +0100 Subject: =?UTF-8?q?Manual=20cleanup=20of=20the=20remaining=20set([?= =?UTF-8?q?=E2=80=A6])=20and=20set((=E2=80=A6)).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- slixmpp/stanza/stream_error.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/stanza/stream_error.py') diff --git a/slixmpp/stanza/stream_error.py b/slixmpp/stanza/stream_error.py index 1b5cceb2..2aa70173 100644 --- a/slixmpp/stanza/stream_error.py +++ b/slixmpp/stanza/stream_error.py @@ -55,7 +55,7 @@ class StreamError(Error, StanzaBase): namespace = 'http://etherx.jabber.org/streams' interfaces = {'condition', 'text', 'see_other_host'} - conditions = set(( + conditions = { 'bad-format', 'bad-namespace-prefix', 'conflict', 'connection-timeout', 'host-gone', 'host-unknown', 'improper-addressing', 'internal-server-error', 'invalid-from', @@ -64,7 +64,7 @@ class StreamError(Error, StanzaBase): 'reset', 'resource-constraint', 'restricted-xml', 'see-other-host', 'system-shutdown', 'undefined-condition', 'unsupported-encoding', 'unsupported-feature', 'unsupported-stanza-type', - 'unsupported-version')) + 'unsupported-version'} condition_ns = 'urn:ietf:params:xml:ns:xmpp-streams' def get_see_other_host(self): -- cgit v1.2.3