Re-work client drop (protocols.py)

This commit is contained in:
Etoh 2014-02-19 22:46:31 +00:00 committed by Uriziel
parent 67c053317b
commit 56b8ec8990

View File

@ -67,9 +67,9 @@ class SyncClientProtocol(JSONCommandProtocol):
self._client.destroyProtocol()
def dropWithError(self, error):
self._client.ui.showErrorMessage(error)
self._client.protocolFactory.stopRetrying()
self.drop()
self._client.stop(error)
def _extractHelloArguments(self, hello):
username = hello["username"] if hello.has_key("username") else None