Browse Source

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
rdb 4 years ago
parent
commit
f902eb7990
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makepanda/makepanda.py

+ 1 - 1
makepanda/makepanda.py

@@ -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):