pylint
This commit is contained in:
parent
2d8ebe25ed
commit
9f071bbe36
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class ReflectorServerProtocol(asyncio.Protocol):
|
||||||
try:
|
try:
|
||||||
await asyncio.wait_for(blob.finished_writing.wait(), 30, loop=self.loop)
|
await asyncio.wait_for(blob.finished_writing.wait(), 30, loop=self.loop)
|
||||||
self.send_response({"received_blob": True})
|
self.send_response({"received_blob": True})
|
||||||
except (asyncio.TimeoutError):
|
except asyncio.TimeoutError:
|
||||||
self.send_response({"received_blob": False})
|
self.send_response({"received_blob": False})
|
||||||
self.incoming.clear()
|
self.incoming.clear()
|
||||||
self.writer.close_handle()
|
self.writer.close_handle()
|
||||||
|
|
Loading…
Reference in a new issue