mirror of
https://github.com/frappe/bench.git
synced 2025-01-08 16:14:12 +00:00
fix: mkdir -p to ignore OSError
s
Closes https://github.com/frappe/bench/issues/1279
This commit is contained in:
parent
25f49c2dbb
commit
d38b63a483
@ -174,8 +174,7 @@ def migrate_env(python, backup=False):
|
||||
from datetime import datetime
|
||||
|
||||
parch = os.path.join(path, "archived", "envs")
|
||||
if not os.path.exists(parch):
|
||||
os.mkdir(parch)
|
||||
os.makedirs(parch, exist_ok=True)
|
||||
|
||||
source = os.path.join(path, "env")
|
||||
target = parch
|
||||
|
Loading…
Reference in New Issue
Block a user