summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0009/stanza/RPC.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:20:27 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:42 +0100
commitc4285961df7004f6c54d6d38960c4c075d0877b6 (patch)
tree62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/plugins/xep_0009/stanza/RPC.py
parent1038f656eb1f766983a5869611daab447817a6ac (diff)
downloadslixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.gz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.bz2
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.tar.xz
slixmpp-c4285961df7004f6c54d6d38960c4c075d0877b6.zip
sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/plugins/xep_0009/stanza/RPC.py')
-rw-r--r--slixmpp/plugins/xep_0009/stanza/RPC.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/slixmpp/plugins/xep_0009/stanza/RPC.py b/slixmpp/plugins/xep_0009/stanza/RPC.py
index 3abab8fc..f8cec481 100644
--- a/slixmpp/plugins/xep_0009/stanza/RPC.py
+++ b/slixmpp/plugins/xep_0009/stanza/RPC.py
@@ -14,8 +14,8 @@ class RPCQuery(ElementBase):
name = 'query'
namespace = 'jabber:iq:rpc'
plugin_attrib = 'rpc_query'
- interfaces = set(())
- subinterfaces = set(())
+ interfaces = {}
+ subinterfaces = {}
plugin_attrib_map = {}
plugin_tag_map = {}
@@ -24,8 +24,8 @@ class MethodCall(ElementBase):
name = 'methodCall'
namespace = 'jabber:iq:rpc'
plugin_attrib = 'method_call'
- interfaces = set(('method_name', 'params'))
- subinterfaces = set(())
+ interfaces = {'method_name', 'params'}
+ subinterfaces = {}
plugin_attrib_map = {}
plugin_tag_map = {}
@@ -46,8 +46,8 @@ class MethodResponse(ElementBase):
name = 'methodResponse'
namespace = 'jabber:iq:rpc'
plugin_attrib = 'method_response'
- interfaces = set(('params', 'fault'))
- subinterfaces = set(())
+ interfaces = {'params', 'fault'}
+ subinterfaces = {}
plugin_attrib_map = {}
plugin_tag_map = {}