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
This commit is contained in:
rdb 2021-01-18 17:16:53 +01:00
parent f392cc9fe6
commit f902eb7990

View File

@ -6114,7 +6114,7 @@ def ParallelMake(tasklist):
taskqueue.put(0) taskqueue.put(0)
# Make sure there aren't any unsatisfied tasks # Make sure there aren't any unsatisfied tasks
if len(tasklist) > 0: 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): def SequentialMake(tasklist):