Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 63e57b4

Browse files
rafieGrokzen
authored andcommitted
Remove arg list training commas (breaks py2)
1 parent 4961bd8 commit 63e57b4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

rediscluster/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def __init__(self, host=None, port=None, startup_nodes=None, max_connections=Non
375375
nodemanager_follow_cluster=nodemanager_follow_cluster,
376376
connection_class=connection_class,
377377
host_port_remap=host_port_remap,
378-
**kwargs,
378+
**kwargs
379379
)
380380

381381
super(RedisCluster, self).__init__(connection_pool=pool, **kwargs)

rediscluster/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def __init__(self, startup_nodes=None, init_slot_cache=True, connection_class=No
434434
reinitialize_steps=reinitialize_steps,
435435
skip_full_coverage_check=skip_full_coverage_check,
436436
nodemanager_follow_cluster=nodemanager_follow_cluster,
437-
**connection_kwargs,
437+
**connection_kwargs
438438
)
439439

440440
def _blocking_pool_factory(self):
@@ -578,7 +578,7 @@ def __init__(self, startup_nodes=None, init_slot_cache=True, connection_class=No
578578
max_connections=max_connections,
579579
readonly=True,
580580
nodemanager_follow_cluster=nodemanager_follow_cluster,
581-
**connection_kwargs,
581+
**connection_kwargs
582582
)
583583

584584
self.master_node_commands = ('SCAN', 'SSCAN', 'HSCAN', 'ZSCAN')

tests/test_cluster_connection_pool.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def get_pool(self, connection_kwargs=None, max_connections=100, max_connections_
242242
max_connections=max_connections,
243243
max_connections_per_node=max_connections_per_node,
244244
timeout=timeout,
245-
**connection_kwargs,
245+
**connection_kwargs
246246
)
247247
return pool
248248

@@ -405,7 +405,7 @@ def get_pool(self, connection_kwargs=None, max_connections=None, init_slot_cache
405405
init_slot_cache=init_slot_cache,
406406
max_connections=max_connections,
407407
startup_nodes=startup_nodes,
408-
**connection_kwargs,
408+
**connection_kwargs
409409
)
410410
return pool
411411

@@ -492,7 +492,7 @@ def get_pool(self, connection_kwargs=None, max_connections=10, timeout=20):
492492
connection_class=DummyConnection,
493493
max_connections=max_connections,
494494
timeout=timeout,
495-
**connection_kwargs,
495+
**connection_kwargs
496496
)
497497
return pool
498498

0 commit comments

Comments
 (0)