diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:20:27 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-10-22 13:21:42 +0100 |
commit | c4285961df7004f6c54d6d38960c4c075d0877b6 (patch) | |
tree | 62cfaa24e4204a0cbfc4936462c0efe0892e3443 /slixmpp/plugins/xep_0231 | |
parent | 1038f656eb1f766983a5869611daab447817a6ac (diff) | |
download | slixmpp-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_0231')
-rw-r--r-- | slixmpp/plugins/xep_0231/stanza.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0231/stanza.py b/slixmpp/plugins/xep_0231/stanza.py index b3b96eff..3de99aac 100644 --- a/slixmpp/plugins/xep_0231/stanza.py +++ b/slixmpp/plugins/xep_0231/stanza.py @@ -18,7 +18,7 @@ class BitsOfBinary(ElementBase): name = 'data' namespace = 'urn:xmpp:bob' plugin_attrib = 'bob' - interfaces = set(('cid', 'max_age', 'type', 'data')) + interfaces = {'cid', 'max_age', 'type', 'data'} def get_max_age(self): return int(self._get_attr('max-age')) |