summaryrefslogtreecommitdiff
path: root/slixmpp/stanza/presence.py
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/stanza/presence.py')
-rw-r--r--slixmpp/stanza/presence.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/stanza/presence.py b/slixmpp/stanza/presence.py
index 517e73c1..94382bce 100644
--- a/slixmpp/stanza/presence.py
+++ b/slixmpp/stanza/presence.py
@@ -58,12 +58,12 @@ class Presence(RootStanza):
plugin_attrib = name
interfaces = set(['type', 'to', 'from', 'id', 'show',
'status', 'priority'])
- sub_interfaces = set(['show', 'status', 'priority'])
- lang_interfaces = set(['status'])
+ sub_interfaces = {'show', 'status', 'priority'}
+ lang_interfaces = {'status'}
types = set(['available', 'unavailable', 'error', 'probe', 'subscribe',
'subscribed', 'unsubscribe', 'unsubscribed'])
- showtypes = set(['dnd', 'chat', 'xa', 'away'])
+ showtypes = {'dnd', 'chat', 'xa', 'away'}
def __init__(self, *args, **kwargs):
"""