chiark / gitweb /
wip, towards target
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 1 Apr 2017 19:48:29 +0000 (20:48 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 1 Apr 2017 19:48:29 +0000 (20:48 +0100)
client

diff --git a/client b/client
index 6af84cd1fd9c507c2421b7ec4cbdb86b7b10194c..2765fa592b8a470b00e8b457245800047fd29a3c 100755 (executable)
--- a/client
+++ b/client
@@ -81,7 +81,8 @@ class ResponseConsumer(twisted.internet.protocol.Protocol):
     self._log(DBG.HTTP_CTRL, 'connectionLost')
     if isinstance(reason, twisted.internet.error.ConnectionDone):
       try: self._ssd.flush()
-      except Exception as e: asyncfailure(e)
+      except Exception as e:
+        self._asyncfailure(e)
     else:
       self._asyncfailure(reason)