Skip to content

Commit

Permalink
Satisfy pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kraemii committed Oct 10, 2023
1 parent 10f82a8 commit a60e0f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ospd/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ def write(self, data: bytes) -> bool:
except (socket.error, BrokenPipeError) as e:
logger.error("Error sending data to the client. %s", e)
ret_success = False
finally:
return ret_success # pylint: disable=lost-exception
return ret_success

try:
b_sent = self.socket.send(data[b_start:b_end])
Expand Down

0 comments on commit a60e0f7

Please sign in to comment.