Skip to content

Commit c30f625

Browse files
committed
Fixing linter- unused import, and a docstring
1 parent 97bd380 commit c30f625

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

redis/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
from redis.lock import Lock
5959
from redis.maint_notifications import (
6060
MaintNotificationsConfig,
61-
MaintNotificationsPoolHandler,
6261
)
6362
from redis.retry import Retry
6463
from redis.utils import (

redis/maint_notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def set_connection(self, connection: "MaintNotificationsAbstractConnection"):
570570
self.connection = connection
571571

572572
def get_handler_for_connection(self):
573-
# Deep all data that should be shared between connections
573+
# Copy all data that should be shared between connections
574574
# but each connection should have its own pool handler
575575
# since each connection can be in a different state
576576
copy = MaintNotificationsPoolHandler(self.pool, self.config)

0 commit comments

Comments
 (0)