reconnect (if configured), instead of

disconnect on expat error
This commit is contained in:
Dimitur Kirov 2006-03-15 20:46:50 +00:00
parent 7afb58426a
commit d316c6d8b4
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Dispatcher(PlugIn):
self.Stream.Parse(data)
except ExpatError:
sys.exc_clear()
self._owner.Connection.disconnect()
self._owner.Connection.pollend()
return 0
if len(self._pendingExceptions) > 0:
_pendingException = self._pendingExceptions.pop()