diff options
Diffstat (limited to 'slixmpp/plugins/xep_0059')
-rw-r--r-- | slixmpp/plugins/xep_0059/stanza.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0059/stanza.py b/slixmpp/plugins/xep_0059/stanza.py index 3843bc85..38ac08b8 100644 --- a/slixmpp/plugins/xep_0059/stanza.py +++ b/slixmpp/plugins/xep_0059/stanza.py @@ -64,10 +64,10 @@ class Set(ElementBase): namespace = 'http://jabber.org/protocol/rsm' name = 'set' plugin_attrib = 'rsm' - sub_interfaces = set(('first', 'after', 'before', 'count', - 'index', 'last', 'max')) - interfaces = set(('first_index', 'first', 'after', 'before', - 'count', 'index', 'last', 'max')) + sub_interfaces = {'first', 'after', 'before', 'count', + 'index', 'last', 'max'} + interfaces = {'first_index', 'first', 'after', 'before', + 'count', 'index', 'last', 'max'} def set_first_index(self, val): fi = self.xml.find("{%s}first" % (self.namespace)) |