summaryrefslogtreecommitdiff
path: root/slixmpp/xmlstream/stanzabase.py
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-07-16 11:26:54 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-07-16 11:26:54 +0200
commitd50d996c68ad82974b8384320bbe9cc875b17d56 (patch)
tree0d17c56e2f227a5b698478108cb1f1f86e7be652 /slixmpp/xmlstream/stanzabase.py
parent371ad20ca715c9b1cd0a4d34559758638f3e2427 (diff)
downloadslixmpp-d50d996c68ad82974b8384320bbe9cc875b17d56.tar.gz
slixmpp-d50d996c68ad82974b8384320bbe9cc875b17d56.tar.bz2
slixmpp-d50d996c68ad82974b8384320bbe9cc875b17d56.tar.xz
slixmpp-d50d996c68ad82974b8384320bbe9cc875b17d56.zip
xmlstream/stanzabase: remove unused interfaces and types attributes
These are already on each stanza, and were not applicable to all stanzas anyway. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'slixmpp/xmlstream/stanzabase.py')
-rw-r--r--slixmpp/xmlstream/stanzabase.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/slixmpp/xmlstream/stanzabase.py b/slixmpp/xmlstream/stanzabase.py
index 1c000b69..3e45f613 100644
--- a/slixmpp/xmlstream/stanzabase.py
+++ b/slixmpp/xmlstream/stanzabase.py
@@ -1374,14 +1374,6 @@ class StanzaBase(ElementBase):
#: The default XMPP client namespace
namespace = 'jabber:client'
- #: There is a small set of attributes which apply to all XMPP stanzas:
- #: the stanza type, the to and from JIDs, the stanza ID, and, especially
- #: in the case of an Iq stanza, a payload.
- interfaces = {'type', 'to', 'from', 'id', 'payload'}
-
- #: A basic set of allowed values for the ``'type'`` interface.
- types = {'get', 'set', 'error', None, 'unavailable', 'normal', 'chat'}
-
def __init__(self, stream=None, xml=None, stype=None,
sto=None, sfrom=None, sid=None, parent=None):
self.stream = stream