summaryrefslogtreecommitdiff
path: root/examples/custom_stanzas/stanza.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 /examples/custom_stanzas/stanza.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 'examples/custom_stanzas/stanza.py')
-rw-r--r--examples/custom_stanzas/stanza.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_stanzas/stanza.py b/examples/custom_stanzas/stanza.py
index b2c6f766..17b7c7de 100644
--- a/examples/custom_stanzas/stanza.py
+++ b/examples/custom_stanzas/stanza.py
@@ -41,7 +41,7 @@ class Action(ElementBase):
#: del action['status']
#:
#: to set, get, or remove its values.
- interfaces = set(('method', 'param', 'status'))
+ interfaces = {'method', 'param', 'status'}
#: By default, values in the `interfaces` set are mapped to
#: attribute values. This can be changed such that an interface