From f902eb79904ac309e4ecacd6ca0f3dcc4139b2df Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 18 Jan 2021 17:16:53 +0100 Subject: [PATCH] makepanda: Revert use of f-strings for now This causes a syntax error for unsupported Python versions, which prevents display of the error message that tells people they are using a too-old Python version --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 48b02846a8..eac0015711 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -6114,7 +6114,7 @@ def ParallelMake(tasklist): taskqueue.put(0) # Make sure there aren't any unsatisfied tasks if len(tasklist) > 0: - exit(f"Dependency problems: {len(tasklist)} tasks not finished. First task unsatisfied: {tasklist[0][2]}") + exit("Dependency problems: {0} tasks not finished. First task unsatisfied: {1}".format(len(tasklist), tasklist[0][2])) def SequentialMake(tasklist):