From 9a67136e944ba236f8506a4acd9d47d0df9001a4 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 10 Jun 2024 14:04:22 -0600 Subject: [PATCH] fix syntax without trying to use f-strings --- pkg/win/gen-data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/win/gen-data.py b/pkg/win/gen-data.py index 0f1bfa352..d241aea24 100644 --- a/pkg/win/gen-data.py +++ b/pkg/win/gen-data.py @@ -24,11 +24,11 @@ } for path, pattern in files.items(): - print 'SetOutPath', '"' + makepath("$INSTDIR/" + path + '/') + '"' + print('SetOutPath "' + makepath('$INSTDIR/' + path + '/') + '"') if type(pattern) == list: check_files = [root + '/' + path + '/' + x for x in pattern] else: check_files = glob(makepath(root + '/' + path + '/' + pattern)) for fname in check_files: - print 'File', '"' + makepath(fname.replace(root, '${RELEASE_DIR}')) + '"' + print('File "' + makepath(fname.replace(root, '${RELEASE_DIR}')) + '"')