Skip to content

Commit bc0193a

Browse files
committed
Convert f-string to .format call
1 parent c4f87b3 commit bc0193a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

django_dbq/management/commands/queue_depth.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ def handle(self, *args, **options):
1616
self.stdout.write(
1717
" ".join(
1818
[
19-
f"{queue_name}={queue_depths.get(queue_name, 0)}"
19+
"{queue_name}={queue_depth}".format(
20+
queue_name=queue_name,
21+
queue_depth=queue_depths.get(queue_name, 0)
22+
)
2023
for queue_name in queue_names
2124
]
2225
)

0 commit comments

Comments
 (0)