From 13cfc02d972b96e1ea101acd7fbfc45344e8b414 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Jan 2025 01:11:16 +0100 Subject: Tidy up some triple-quoted prints. --- platform/windows/wscript | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'platform/windows/wscript') diff --git a/platform/windows/wscript b/platform/windows/wscript index a7ef24589..c1d37a414 100644 --- a/platform/windows/wscript +++ b/platform/windows/wscript @@ -501,26 +501,20 @@ RMDir "$INSTDIR" for s, l in tools: print('Delete "$DESKTOP\\DCP-o-matic 2 %s debug.lnk"' % l, file=f) - print(""" -Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*" -RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2 debug" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug" - SectionEnd - """, file=f) + print('Delete "$SMPROGRAMS\\DCP-o-matic 2 debug\\*.*"', file=f) + print('RmDir "$SMPROGRAMS\\DCP-o-matic 2 debug"', file=f) + print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2 debug"', file=f) + print('SectionEnd', file=f) else: print('Delete "$DESKTOP\\DCP-o-matic 2.lnk"', file=f) for s, l in tools: print('Delete "$DESKTOP\\DCP-o-matic 2 %s.lnk"' % l, file=f) print('Delete "$DESKTOP\\DCP-o-matic 2 Encode Server.lnk"', file=f) - print(""" -Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*" -RmDir "$SMPROGRAMS\\DCP-o-matic 2" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\DCP-o-matic 2" -DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2" - SectionEnd - """, file=f) + print('Delete "$SMPROGRAMS\\DCP-o-matic 2\\*.*"', file=f) + print('RmDir "$SMPROGRAMS\\DCP-o-matic 2"', file=f) + print('DeleteRegKey HKLM "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\DCP-o-matic 2"', file=f) + print('SectionEnd', file=f) def build(bld): -- cgit v1.2.3