summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-20 15:58:56 +0900
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-20 16:23:02 +0900
commitd7758eb7f453ddcdb3325daf0c49047010af78f4 (patch)
treebf878c64b54ac50f7dff458d0eb943440f2ad337
parent125336aeee630a789ce32ecdb976be6606656d93 (diff)
downloadslixmpp-d7758eb7f453ddcdb3325daf0c49047010af78f4.tar.gz
slixmpp-d7758eb7f453ddcdb3325daf0c49047010af78f4.tar.bz2
slixmpp-d7758eb7f453ddcdb3325daf0c49047010af78f4.tar.xz
slixmpp-d7758eb7f453ddcdb3325daf0c49047010af78f4.zip
ElementBase: Remove subitem interface.
-rw-r--r--slixmpp/xmlstream/stanzabase.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/slixmpp/xmlstream/stanzabase.py b/slixmpp/xmlstream/stanzabase.py
index c1f297ac..e3926bfb 100644
--- a/slixmpp/xmlstream/stanzabase.py
+++ b/slixmpp/xmlstream/stanzabase.py
@@ -379,20 +379,6 @@ class ElementBase(object):
#: .. versionadded:: 1.0-Beta5
plugin_iterables = set()
- #: A deprecated version of :attr:`plugin_iterables` that remains
- #: for backward compatibility. It required a parent stanza to
- #: know beforehand what stanza classes would be iterable::
- #:
- #: class DiscoItem(ElementBase):
- #: ...
- #:
- #: class DiscoInfo(ElementBase):
- #: subitem = (DiscoItem, )
- #: ...
- #:
- #: .. deprecated:: 1.0-Beta5
- subitem = set()
-
#: The default XML namespace: ``http://www.w3.org/XML/1998/namespace``.
xml_ns = XML_NS
@@ -426,10 +412,6 @@ class ElementBase(object):
else:
self.parent = parent
- if self.subitem is not None:
- for sub in self.subitem:
- self.plugin_iterables.add(sub)
-
if self.setup(xml):
# If we generated our own XML, then everything is ready.
return