diff -r 7f643d41464e -r f904d0eef264 scripts/uninstall.py --- a/scripts/uninstall.py Wed Jun 17 17:12:21 2020 +0200 +++ b/scripts/uninstall.py Wed Jun 17 20:18:54 2020 +0200 @@ -43,7 +43,7 @@ if sys.platform.startswith(("win", "cygwin")): try: - input("Press enter to continue...") + input("Press enter to continue...") # secok except (EOFError, SyntaxError): pass @@ -329,6 +329,7 @@ answer = "c" while answer not in ["y", "Y", "n", "N", ""]: answer = input("Shall these directories be removed (y/N)? ") + # secok if answer in ["y", "Y"]: for path in pathsToRemove: shutil.rmtree(path) @@ -345,6 +346,7 @@ answer = "c" while answer not in ["y", "Y", "n", "N", ""]: answer = input("Shall this directory be removed (y/N)? ") + # secok if answer in ["y", "Y"]: shutil.rmtree(cfg) @@ -369,6 +371,7 @@ answer = "c" while answer not in ["y", "Y", "n", "N", ""]: answer = input("Shall this directory be removed (y/N)? ") + # secok if answer in ["y", "Y"]: shutil.rmtree(settingsDir) @@ -419,7 +422,7 @@ "eric6 Browser (Python {0}.{1}).lnk", ] - return [l.format(majorVersion, minorVersion) for l in linkTemplates] + return [ll.format(majorVersion, minorVersion) for ll in linkTemplates] def windowsProgramsEntry():