diff -r 411df92e881f -r 3b34efa2857c scripts/uninstall-debugclients.py --- a/scripts/uninstall-debugclients.py Sun Dec 03 14:54:00 2023 +0100 +++ b/scripts/uninstall-debugclients.py Mon Jan 01 11:10:45 2024 +0100 @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# Copyright (c) 2016 - 2023 Detlev Offenbach <detlev@die-offenbachs.de> +# Copyright (c) 2016 - 2024 Detlev Offenbach <detlev@die-offenbachs.de> # # This is the uninstall script for the eric debug client. # @@ -28,7 +28,8 @@ """ Exit the install script. - @param rcode result code to report back (integer) + @param rcode result code to report back + @type int """ global currDir @@ -71,7 +72,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)