scripts/uninstall-debugclients.py

branch
eric7
changeset 10403
ea3320d5e8e9
parent 10300
60e8f2175b3b
child 10420
5ac83a87954d
--- a/scripts/uninstall-debugclients.py	Mon Dec 11 15:11:32 2023 +0100
+++ b/scripts/uninstall-debugclients.py	Tue Dec 12 09:35:39 2023 +0100
@@ -71,7 +71,7 @@
         # Cleanup the install directories
         dirname = os.path.join(pyModDir, installPackage)
         if os.path.exists(dirname):
-            shutil.rmtree(dirname, True)
+            shutil.rmtree(dirname, ignore_errors=True)
     except OSError as msg:
         sys.stderr.write("Error: {0}\nTry uninstall with admin rights.\n".format(msg))
         exit(7)

eric ide

mercurial