diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:06 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:44 +0100 |
commit | dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (patch) | |
tree | 2fcadd89e8d8244a22769edd57426c8e2146d2ad /slixmpp/features | |
parent | c4285961df7004f6c54d6d38960c4c075d0877b6 (diff) | |
download | slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.gz slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.bz2 slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.xz slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.zip |
sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/features')
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/auth.py | 2 | ||||
-rw-r--r-- | slixmpp/features/feature_mechanisms/stanza/success.py | 2 |
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): |