Skip to content

Commit accd878

Browse files
committed
Add some logging when we (re)create the venv
1 parent e8ba9f4 commit accd878

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/wpt/virtualenv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ def broken_link(self):
5959

6060
def create(self):
6161
if os.path.exists(self.path):
62+
logger.warning(f"Removing existing venv at {self.path!r}")
6263
shutil.rmtree(self.path, ignore_errors=True)
6364
self._working_set = None
65+
logger.info(f"Creating new venv at {self.path!r}")
6466
call(*self.virtualenv, self.path)
6567

6668
def get_paths(self):

0 commit comments

Comments
 (0)