summaryrefslogtreecommitdiff
path: root/slixmpp/features/feature_mechanisms/stanza
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/features/feature_mechanisms/stanza')
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/auth.py2
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/success.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/features/feature_mechanisms/stanza/auth.py b/slixmpp/features/feature_mechanisms/stanza/auth.py
index e024ef22..48f0cf81 100644
--- a/slixmpp/features/feature_mechanisms/stanza/auth.py
+++ b/slixmpp/features/feature_mechanisms/stanza/auth.py
@@ -24,7 +24,7 @@ class Auth(StanzaBase):
#: Some SASL mechs require sending values as is,
#: without converting base64.
- plain_mechs = set(['X-MESSENGER-OAUTH2'])
+ plain_mechs = {'X-MESSENGER-OAUTH2'}
def setup(self, xml):
StanzaBase.setup(self, xml)
diff --git a/slixmpp/features/feature_mechanisms/stanza/success.py b/slixmpp/features/feature_mechanisms/stanza/success.py
index f7cde0f8..70be1780 100644
--- a/slixmpp/features/feature_mechanisms/stanza/success.py
+++ b/slixmpp/features/feature_mechanisms/stanza/success.py
@@ -18,7 +18,7 @@ class Success(StanzaBase):
name = 'success'
namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
- interfaces = set(['value'])
+ interfaces = {'value'}
plugin_attrib = name
def setup(self, xml):