summaryrefslogtreecommitdiff
path: root/slixmpp/features/feature_mechanisms/stanza/auth.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/features/feature_mechanisms/stanza/auth.py')
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/auth.py4
1 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 c32069ec..48f0cf81 100644
--- a/slixmpp/features/feature_mechanisms/stanza/auth.py
+++ b/slixmpp/features/feature_mechanisms/stanza/auth.py
@@ -19,12 +19,12 @@ class Auth(StanzaBase):
name = 'auth'
namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
- interfaces = set(('mechanism', 'value'))
+ interfaces = {'mechanism', 'value'}
plugin_attrib = name
#: 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)