bullseye migration: _generate_requirements -> _backup_pip_freeze_for_python_app_venvs

This commit is contained in:
Alexandre Aubin 2022-08-07 19:07:32 +02:00 committed by GitHub
parent f83a357d33
commit 2b63058b45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ def _get_all_venvs(dir, level=0, maxlevel=3):
return result 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/ 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 # Get requirements of the different venvs from python apps
# #
_generate_requirements() _backup_pip_freeze_for_python_app_venvs()
# #
# Run apt update # Run apt update