diff options
author | Nathan Fritz <fritzy@netflint.net> | 2011-09-19 11:53:09 -0700 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2011-09-19 11:53:09 -0700 |
commit | cf7fcf496e0d00ea9dc9d9de52562630d2072f55 (patch) | |
tree | 6edec9f7c21261ec8dfa02e0b3cebfb82f3367e1 /sleekxmpp/xmlstream/xmlstream.py | |
parent | 1765271f84793efb54eb710557afc1ae2f201926 (diff) | |
download | slixmpp-cf7fcf496e0d00ea9dc9d9de52562630d2072f55.tar.gz slixmpp-cf7fcf496e0d00ea9dc9d9de52562630d2072f55.tar.bz2 slixmpp-cf7fcf496e0d00ea9dc9d9de52562630d2072f55.tar.xz slixmpp-cf7fcf496e0d00ea9dc9d9de52562630d2072f55.zip |
SyntaxError requires a restart
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 10f4a05f..39360310 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -1148,6 +1148,7 @@ class XMLStream(object): root.clear() except SyntaxError: log.error("Error reading from XML stream.") + self.disconnect(self.auto_reconnect) log.debug("Ending read XML loop") def _build_stanza(self, xml, default_ns=None): |