summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0332/stanza/response.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:06 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-10-22 13:21:44 +0100
commitdcacc7d7d50d3f720cb14f1382c6d4f5a13664a4 (patch)
tree2fcadd89e8d8244a22769edd57426c8e2146d2ad /slixmpp/plugins/xep_0332/stanza/response.py
parentc4285961df7004f6c54d6d38960c4c075d0877b6 (diff)
downloadslixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.gz
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.bz2
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.tar.xz
slixmpp-dcacc7d7d50d3f720cb14f1382c6d4f5a13664a4.zip
sed -i 's/set(\[\(.*\)\])$/{\1}/g' **/*.py
Diffstat (limited to 'slixmpp/plugins/xep_0332/stanza/response.py')
-rw-r--r--slixmpp/plugins/xep_0332/stanza/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0332/stanza/response.py b/slixmpp/plugins/xep_0332/stanza/response.py
index a0b8fe34..8f58f0c2 100644
--- a/slixmpp/plugins/xep_0332/stanza/response.py
+++ b/slixmpp/plugins/xep_0332/stanza/response.py
@@ -46,7 +46,7 @@ class HTTPResponse(ElementBase):
name = 'response'
namespace = 'urn:xmpp:http'
- interfaces = set(['code', 'message', 'version'])
+ interfaces = {'code', 'message', 'version'}
plugin_attrib = 'http-resp'
def get_code(self):