Skip to content

Commit c910847

Browse files
committed
Fixes per flake8
1 parent f9c295a commit c910847

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

redisbench_admin/run/common.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def dbconfig_keyspacelen_check(
716716
attempt = 0
717717
while time.time() - start_time < timeout:
718718
logging.info(
719-
f"Ensuring keyspace length requirement = {keyspacelen} is met. attempt #{attempt+1}"
719+
f"Ensuring keyspace length requirement = {keyspacelen} is met. attempt #{attempt + 1}"
720720
)
721721
total_keys = 0
722722
for shard_conn in redis_conns:
@@ -741,12 +741,12 @@ def dbconfig_keyspacelen_check(
741741
attempt += 1
742742

743743
logging.error(
744-
f"The total number of keys in setup does not match the expected spec: {keyspacelen} != {total_keys}. Aborting after {attempt+1} tries..."
744+
f"The total number of keys in setup does not match the expected spec: {keyspacelen} != {total_keys}. Aborting after {attempt + 1} tries..."
745745
)
746746

747747
if not ignore_keyspace_errors:
748748
raise Exception(
749-
f"The total number of keys in setup does not match the expected spec: {keyspacelen} != {total_keys}. Aborting after {attempt+1} tries..."
749+
f"The total number of keys in setup does not match the expected spec: {keyspacelen} != {total_keys}. Aborting after {attempt + 1} tries..."
750750
)
751751

752752
return False

0 commit comments

Comments
 (0)