From c4285961df7004f6c54d6d38960c4c075d0877b6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Oct 2016 13:20:27 +0100 Subject: sed -i 's/set((\(.*\)))$/{\1}/g' **/*.py --- examples/custom_stanzas/stanza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/custom_stanzas') 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 -- cgit v1.2.3