summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/gmail_notify.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:35:54 +0100
commitf4683546d942f8e7ce3e31d40a8c51a1b73ebda5 (patch)
tree9239608ac4ab572489d31065c00ff9aa663bb7f9 /slixmpp/plugins/gmail_notify.py
parentdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (diff)
downloadslixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.gz
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.bz2
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.tar.xz
slixmpp-f4683546d942f8e7ce3e31d40a8c51a1b73ebda5.zip
Manual cleanup of the remaining set([…]) and set((…)).compiler
Diffstat (limited to 'slixmpp/plugins/gmail_notify.py')
-rw-r--r--slixmpp/plugins/gmail_notify.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/gmail_notify.py b/slixmpp/plugins/gmail_notify.py
index 2a85e17f..a56ca699 100644
--- a/slixmpp/plugins/gmail_notify.py
+++ b/slixmpp/plugins/gmail_notify.py
@@ -37,8 +37,8 @@ class MailBox(ElementBase):
namespace = 'google:mail:notify'
name = 'mailbox'
plugin_attrib = 'mailbox'
- interfaces = set(('result-time', 'total-matched', 'total-estimate',
- 'url', 'threads', 'matched', 'estimate'))
+ interfaces = {'result-time', 'total-matched', 'total-estimate',
+ 'url', 'threads', 'matched', 'estimate'}
def get_threads(self):
threads = []
@@ -58,8 +58,8 @@ class MailThread(ElementBase):
namespace = 'google:mail:notify'
name = 'mail-thread-info'
plugin_attrib = 'thread'
- interfaces = set(('tid', 'participation', 'messages', 'date',
- 'senders', 'url', 'labels', 'subject', 'snippet'))
+ interfaces = {'tid', 'participation', 'messages', 'date',
+ 'senders', 'url', 'labels', 'subject', 'snippet'}
sub_interfaces = {'labels', 'subject', 'snippet'}
def get_senders(self):