sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py

This commit is contained in:
Emmanuel Gil Peyrot
2016-10-22 13:21:06 +01:00
parent c4285961df
commit dcacc7d7d5
116 changed files with 262 additions and 262 deletions

View File

@@ -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()

View File

@@ -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):