From 068aa45a354abe3258ea12edc64c154579ad3bd2 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 29 May 2024 21:27:25 -0600 Subject: [PATCH] Fix more old python syntax --- 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..3f442b63d 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(f'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(f'File "{makepath(fname.replace(root, '${RELEASE_DIR}'))}"')