diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:20:27 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:42 +0100 |
commit | c4285961df7004f6c54d6d38960c4c075d0877b6 (patch) | |
tree | 62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/features/feature_mechanisms | |
parent | 1038f656eb1f766983a5869611daab447817a6ac (diff) | |
download | slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.gz slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.bz2 slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.xz slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.zip |
sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/features/feature_mechanisms')
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/auth.py | 2 | ||||
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/failure.py | 2 | ||||
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/mechanisms.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/features/feature_mechanisms/stanza/auth.py b/slixmpp/features/feature_mechanisms/stanza/auth.py index c32069ec..e024ef22 100644 --- a/slixmpp/features/feature_mechanisms/stanza/auth.py +++ b/slixmpp/features/feature_mechanisms/stanza/auth.py @@ -19,7 +19,7 @@ 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, diff --git a/slixmpp/features/feature_mechanisms/stanza/failure.py b/slixmpp/features/feature_mechanisms/stanza/failure.py index 29f0a343..b4428fcc 100644 --- a/slixmpp/features/feature_mechanisms/stanza/failure.py +++ b/slixmpp/features/feature_mechanisms/stanza/failure.py @@ -16,7 +16,7 @@ class Failure(StanzaBase): name = 'failure' namespace = 'urn:ietf:params:xml:ns:xmpp-sasl' - interfaces = set(('condition', 'text')) + interfaces = {'condition', 'text'} plugin_attrib = name sub_interfaces = {'text'} conditions = set(('aborted', 'account-disabled', 'credentials-expired', diff --git a/slixmpp/features/feature_mechanisms/stanza/mechanisms.py b/slixmpp/features/feature_mechanisms/stanza/mechanisms.py index 064b8d1f..4ff15678 100644 --- a/slixmpp/features/feature_mechanisms/stanza/mechanisms.py +++ b/slixmpp/features/feature_mechanisms/stanza/mechanisms.py @@ -16,7 +16,7 @@ class Mechanisms(ElementBase): name = 'mechanisms' namespace = 'urn:ietf:params:xml:ns:xmpp-sasl' - interfaces = set(('mechanisms', 'required')) + interfaces = {'mechanisms', 'required'} plugin_attrib = name is_extension = True |