scripts/install.py

branch
eric7
changeset 10403
ea3320d5e8e9
parent 10373
093dcebe5ecb
child 10417
c6011e501282
diff -r 1b63ffeca110 -r ea3320d5e8e9 scripts/install.py
--- a/scripts/install.py	Mon Dec 11 15:11:32 2023 +0100
+++ b/scripts/install.py	Tue Dec 12 09:35:39 2023 +0100
@@ -509,7 +509,7 @@
         ]:
             with contextlib.suppress(AttributeError):
                 if os.path.exists(getConfig(name)):
-                    shutil.rmtree(getConfig(name), True)
+                    shutil.rmtree(getConfig(name), ignore_errors=True)
 
         # Cleanup translations
         for name in glob.glob(
@@ -2315,7 +2315,7 @@
     try:
         if doCleanup:
             if distDir:
-                shutil.rmtree(distDir, True)
+                shutil.rmtree(distDir, ignore_errors=True)
             else:
                 cleanUp()
     except OSError as msg:

eric ide

mercurial