summaryrefslogtreecommitdiff
path: root/slixmpp/stanza/stream_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/stanza/stream_error.py')
-rw-r--r--slixmpp/stanza/stream_error.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/stanza/stream_error.py b/slixmpp/stanza/stream_error.py
index d8b8bb5a..2aa70173 100644
--- a/slixmpp/stanza/stream_error.py
+++ b/slixmpp/stanza/stream_error.py
@@ -54,8 +54,8 @@ class StreamError(Error, StanzaBase):
"""
namespace = 'http://etherx.jabber.org/streams'
- interfaces = set(('condition', 'text', 'see_other_host'))
- conditions = set((
+ interfaces = {'condition', 'text', 'see_other_host'}
+ 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):