summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-02-04 17:49:30 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-02-04 17:49:30 +0100
commit957c635fb7877cc711cdabfcf8d3e6a41792c7cf (patch)
treee6ec6e69895202f38e1217f2b98716e9ad7f6f1f
parent4027927c6e2de70d334902e9b6c7b615404f57b4 (diff)
downloadslixmpp-957c635fb7877cc711cdabfcf8d3e6a41792c7cf.tar.gz
slixmpp-957c635fb7877cc711cdabfcf8d3e6a41792c7cf.tar.bz2
slixmpp-957c635fb7877cc711cdabfcf8d3e6a41792c7cf.tar.xz
slixmpp-957c635fb7877cc711cdabfcf8d3e6a41792c7cf.zip
XMLStream must provide the BaseProtocol interface
-rw-r--r--slixmpp/xmlstream/xmlstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/xmlstream/xmlstream.py b/slixmpp/xmlstream/xmlstream.py
index 7417a7dc..f7e166c1 100644
--- a/slixmpp/xmlstream/xmlstream.py
+++ b/slixmpp/xmlstream/xmlstream.py
@@ -55,7 +55,7 @@ class NotConnectedError(Exception):
connected.
"""
-class XMLStream(object):
+class XMLStream(asyncio.BaseProtocol):
"""
An XML stream connection manager and event dispatcher.