sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user