commit | cbc4429f8320620f8ab617f67211078fad51aee7 | [log] [tgz] |
---|---|---|
author | James Graham <james@hoppipolla.co.uk> | Thu Jan 04 09:05:46 2024 |
committer | moz-wptsync-bot <wptsync@mozilla.com> | Thu Jan 04 21:48:08 2024 |
tree | e8c39fecdc064f6e56d073f37e8fc3e5e8bb9443 | |
parent | 2c7200ae8808844cd933295e1744aa38205e5f95 [diff] |
Ignore errors when cleaning up old wpt virtualenv Differential Revision: https://phabricator.services.mozilla.com/D197578 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1871425 gecko-commit: f3216cc886f4cb5dc3617187c331a065c256cb2a gecko-reviewers: ahal
diff --git a/tools/wpt/virtualenv.py b/tools/wpt/virtualenv.py index 742f572..f1fad73 100644 --- a/tools/wpt/virtualenv.py +++ b/tools/wpt/virtualenv.py
@@ -46,7 +46,7 @@ def create(self): if os.path.exists(self.path): - shutil.rmtree(self.path) + shutil.rmtree(self.path, ignore_errors=True) self._working_set = None call(*self.virtualenv, self.path)