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

@@ -24,7 +24,7 @@ class XEP_0184(BasePlugin):
name = 'xep_0184'
description = 'XEP-0184: Message Delivery Receipts'
dependencies = set(['xep_0030'])
dependencies = {'xep_0030'}
stanza = stanza
default_config = {
'auto_ack': True,

View File

@@ -45,7 +45,7 @@ class Received(ElementBase):
namespace = 'urn:xmpp:receipts'
name = 'received'
plugin_attrib = 'receipt'
interfaces = set(['receipt'])
interfaces = {'receipt'}
sub_interfaces = interfaces
is_extension = True