summaryrefslogtreecommitdiff
path: root/slixmpp/features
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/features')
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/challenge.py2
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/failure.py2
-rw-r--r--slixmpp/features/feature_mechanisms/stanza/response.py2
-rw-r--r--slixmpp/features/feature_starttls/stanza.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/features/feature_mechanisms/stanza/challenge.py b/slixmpp/features/feature_mechanisms/stanza/challenge.py
index 21a061ee..7fa76e18 100644
--- a/slixmpp/features/feature_mechanisms/stanza/challenge.py
+++ b/slixmpp/features/feature_mechanisms/stanza/challenge.py
@@ -19,7 +19,7 @@ class Challenge(StanzaBase):
name = 'challenge'
namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
- interfaces = set(('value',))
+ interfaces = {'value'}
plugin_attrib = name
def setup(self, xml):
diff --git a/slixmpp/features/feature_mechanisms/stanza/failure.py b/slixmpp/features/feature_mechanisms/stanza/failure.py
index cc0ac877..29f0a343 100644
--- a/slixmpp/features/feature_mechanisms/stanza/failure.py
+++ b/slixmpp/features/feature_mechanisms/stanza/failure.py
@@ -18,7 +18,7 @@ class Failure(StanzaBase):
namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
interfaces = set(('condition', 'text'))
plugin_attrib = name
- sub_interfaces = set(('text',))
+ sub_interfaces = {'text'}
conditions = set(('aborted', 'account-disabled', 'credentials-expired',
'encryption-required', 'incorrect-encoding', 'invalid-authzid',
'invalid-mechanism', 'malformed-request', 'mechansism-too-weak',
diff --git a/slixmpp/features/feature_mechanisms/stanza/response.py b/slixmpp/features/feature_mechanisms/stanza/response.py
index 8da236ba..b25a0592 100644
--- a/slixmpp/features/feature_mechanisms/stanza/response.py
+++ b/slixmpp/features/feature_mechanisms/stanza/response.py
@@ -19,7 +19,7 @@ class Response(StanzaBase):
name = 'response'
namespace = 'urn:ietf:params:xml:ns:xmpp-sasl'
- interfaces = set(('value',))
+ interfaces = {'value'}
plugin_attrib = name
def setup(self, xml):
diff --git a/slixmpp/features/feature_starttls/stanza.py b/slixmpp/features/feature_starttls/stanza.py
index df50897e..ba58d93e 100644
--- a/slixmpp/features/feature_starttls/stanza.py
+++ b/slixmpp/features/feature_starttls/stanza.py
@@ -16,7 +16,7 @@ class STARTTLS(ElementBase):
name = 'starttls'
namespace = 'urn:ietf:params:xml:ns:xmpp-tls'
- interfaces = set(('required',))
+ interfaces = {'required'}
plugin_attrib = name
def get_required(self):