Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pentschev committed Sep 29, 2022
1 parent 514dc68 commit 582bc2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions distributed/comm/ucx.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,9 @@ async def read(self, deserializers=("cuda", "dask", "pickle", "error")):
# "low-level" exception. The only safe thing to do is to abort.
# (See also https://github.com/dask/distributed/pull/6574).
self.abort()
raise CommClosedError("Connection closed by writer.\n"
f"Inner exception: {e!r}")
raise CommClosedError(
f"Connection closed by writer.\nInner exception: {e!r}"
)
else:
# Recv frames
frames = [
Expand Down

0 comments on commit 582bc2c

Please sign in to comment.