mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1680051: Ignore error when removing old psutil directory r=firefox-build-system-reviewers,dmajor
Don't fail to run all mach commands when old psutil directory cannot be removed. Glandium mentioned that there shouldn't be any negative effects from the old directory lingering. Differential Revision: https://phabricator.services.mozilla.com/D98352
This commit is contained in:
parent
37d53cb0c1
commit
f785b29cf3
@ -203,7 +203,7 @@ def bootstrap(topsrcdir, mozilla_dir=None):
|
||||
# to clean the repo themselves.
|
||||
deleted_dir = os.path.join(topsrcdir, "third_party", "python", "psutil")
|
||||
if os.path.exists(deleted_dir):
|
||||
shutil.rmtree(deleted_dir)
|
||||
shutil.rmtree(deleted_dir, ignore_errors=True)
|
||||
|
||||
# Global build system and mach state is stored in a central directory. By
|
||||
# default, this is ~/.mozbuild. However, it can be defined via an
|
||||
|
Loading…
Reference in New Issue
Block a user