From dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:21:06 +0100 Subject: sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py --- slixmpp/plugins/xep_0131/headers.py | 2 +- slixmpp/plugins/xep_0131/stanza.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'slixmpp/plugins/xep_0131') diff --git a/slixmpp/plugins/xep_0131/headers.py b/slixmpp/plugins/xep_0131/headers.py index 81fc9188..978c490d 100644 --- a/slixmpp/plugins/xep_0131/headers.py +++ b/slixmpp/plugins/xep_0131/headers.py @@ -17,7 +17,7 @@ class XEP_0131(BasePlugin): name = 'xep_0131' description = 'XEP-0131: Stanza Headers and Internet Metadata' - dependencies = set(['xep_0030']) + dependencies = {'xep_0030'} stanza = stanza default_config = { 'supported_headers': set() diff --git a/slixmpp/plugins/xep_0131/stanza.py b/slixmpp/plugins/xep_0131/stanza.py index cbbe61a7..d075c15e 100644 --- a/slixmpp/plugins/xep_0131/stanza.py +++ b/slixmpp/plugins/xep_0131/stanza.py @@ -14,7 +14,7 @@ class Headers(ElementBase): name = 'headers' namespace = 'http://jabber.org/protocol/shim' plugin_attrib = 'headers' - interfaces = set(['headers']) + interfaces = {'headers'} is_extension = True def get_headers(self): -- cgit v1.2.3