Skip to content

Commit

Permalink
linters
Browse files Browse the repository at this point in the history
  • Loading branch information
dvora-h committed Mar 14, 2022
1 parent 8919cd8 commit f4fff1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ def close(self):
# In case a connection property does not yet exist
# (due to a crash earlier in the Redis() constructor), return
# immediately as there is nothing to clean-up.
if not hasattr(self, 'connection'):
if not hasattr(self, "connection"):
return

conn = self.connection
Expand Down

0 comments on commit f4fff1c

Please sign in to comment.