summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0079
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/plugins/xep_0079')
-rw-r--r--slixmpp/plugins/xep_0079/amp.py2
-rw-r--r--slixmpp/plugins/xep_0079/stanza.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0079/amp.py b/slixmpp/plugins/xep_0079/amp.py
index 6e65d02a..a8fbc258 100644
--- a/slixmpp/plugins/xep_0079/amp.py
+++ b/slixmpp/plugins/xep_0079/amp.py
@@ -27,7 +27,7 @@ class XEP_0079(BasePlugin):
name = 'xep_0079'
description = 'XEP-0079: Advanced Message Processing'
- dependencies = set(['xep_0030'])
+ dependencies = {'xep_0030'}
stanza = stanza
def plugin_init(self):
diff --git a/slixmpp/plugins/xep_0079/stanza.py b/slixmpp/plugins/xep_0079/stanza.py
index e3e1553a..27480fd6 100644
--- a/slixmpp/plugins/xep_0079/stanza.py
+++ b/slixmpp/plugins/xep_0079/stanza.py
@@ -15,7 +15,7 @@ class AMP(ElementBase):
namespace = 'http://jabber.org/protocol/amp'
name = 'amp'
plugin_attrib = 'amp'
- interfaces = set(['from', 'to', 'status', 'per_hop'])
+ interfaces = {'from', 'to', 'status', 'per_hop'}
def get_from(self):
return JID(self._get_attr('from'))
@@ -53,7 +53,7 @@ class Rule(ElementBase):
name = 'rule'
plugin_attrib = name
plugin_multi_attrib = 'rules'
- interfaces = set(['action', 'condition', 'value'])
+ interfaces = {'action', 'condition', 'value'}
class InvalidRules(ElementBase):