diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:35:54 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:35:54 +0100 |
commit | f4683546d942f8e7ce3e31d40a8c51a1b73ebda5 (patch) | |
tree | 9239608ac4ab572489d31065c00ff9aa663bb7f9 /slixmpp/plugins/xep_0235/stanza.py | |
parent | dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff) | |
download | slixmpp-compiler.tar.gz slixmpp-compiler.tar.bz2 slixmpp-compiler.tar.xz slixmpp-compiler.zip |
Manual cleanup of the remaining set([…]) and set((…)).compiler
Diffstat (limited to 'slixmpp/plugins/xep_0235/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0235/stanza.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0235/stanza.py b/slixmpp/plugins/xep_0235/stanza.py index abb4a38d..5205b07c 100644 --- a/slixmpp/plugins/xep_0235/stanza.py +++ b/slixmpp/plugins/xep_0235/stanza.py @@ -19,9 +19,9 @@ class OAuth(ElementBase): name = 'oauth' namespace = 'urn:xmpp:oauth:0' plugin_attrib = 'oauth' - interfaces = set(['oauth_consumer_key', 'oauth_nonce', 'oauth_signature', - 'oauth_signature_method', 'oauth_timestamp', - 'oauth_token', 'oauth_version']) + interfaces = {'oauth_consumer_key', 'oauth_nonce', 'oauth_signature', + 'oauth_signature_method', 'oauth_timestamp', 'oauth_token', + 'oauth_version'} sub_interfaces = interfaces def generate_signature(self, stanza, sfrom, sto, consumer_secret, |