Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Jan 26, 2024
1 parent 2d0f059 commit dbea79e
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions arango/replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,15 @@ def response_handler(resp: Response) -> Json:
if resp.is_success:
result = format_replication_header(resp.headers)
result["content"] = [
[
self._conn.deserialize(line)
for line in resp.body.split("\n")
if line
]
if deserialize
else resp.body
(
[
self._conn.deserialize(line)
for line in resp.body.split("\n")
if line
]
if deserialize
else resp.body
)
]
return result

Expand Down

0 comments on commit dbea79e

Please sign in to comment.