summaryrefslogtreecommitdiff
path: root/slixmpp/stanza/stream_error.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
commitf4683546d942f8e7ce3e31d40a8c51a1b73ebda5 (patch)
tree9239608ac4ab572489d31065c00ff9aa663bb7f9 /slixmpp/stanza/stream_error.py
parentdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff)
downloadslixmpp-compiler.tar.gz
slixmpp-compiler.tar.bz2
slixmpp-compiler.tar.xz
slixmpp-compiler.zip
Manual cleanup of the remaining set([…]) and set((…)).compiler
Diffstat (limited to 'slixmpp/stanza/stream_error.py')
-rw-r--r--slixmpp/stanza/stream_error.py4
1 files changed, 2 insertions, 2 deletions
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):