Merge branch 'buster_migration_fix' of https://github.com/theo-is-taken/yunohost into buster_migration_fix

This commit is contained in:
theo@manjaro 2022-07-22 15:37:27 +02:00
commit 3e4b88322d

View file

@ -32,7 +32,7 @@ N_NEXT_YUNOHOST = 11
VENV_BACKUP_SUFFIX = "_BACKUP_VENV"
VENV_REQUIREMENTS_SUFFIX = "_req.txt"
VENV_IGNORE = "VENVNOREGEN"
VENV_IGNORE = "ynh_migration_no_regen"
def _get_all_venvs(dir,level=0,maxlevel=2):
# Using os functions instead of glob, because glob doesn't support hidden folders, and we need recursion with a fixed depth