mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
bullseye migration: _generate_requirements -> _backup_pip_freeze_for_python_app_venvs
This commit is contained in:
parent
f83a357d33
commit
2b63058b45
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ def _get_all_venvs(dir, level=0, maxlevel=3):
|
|||
return result
|
||||
|
||||
|
||||
def _generate_requirements():
|
||||
def _backup_pip_freeze_for_python_app_venvs():
|
||||
"""
|
||||
Generate a requirements file for all python virtual env located inside /opt/ and /var/www/
|
||||
"""
|
||||
|
@ -112,7 +112,7 @@ class MyMigration(Migration):
|
|||
# Get requirements of the different venvs from python apps
|
||||
#
|
||||
|
||||
_generate_requirements()
|
||||
_backup_pip_freeze_for_python_app_venvs()
|
||||
|
||||
#
|
||||
# Run apt update
|
||||
|
|
Loading…
Add table
Reference in a new issue