update_manager: refactoring

Code style and naming convention improvements.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan
2023-02-06 07:50:08 -05:00
parent c8ad69b902
commit 01977c8775
4 changed files with 32 additions and 47 deletions

View File

@@ -337,7 +337,7 @@ class ZipDeploy(AppDeploy):
await self._install_packages(system_pkgs)
if python_pkgs:
if force or python_pkgs != self.python_pkg_list:
await self._update_virtualenv(python_pkgs)
await self._update_python_requirements(python_pkgs)
ret = await self._check_need_update(npm_hash, self.npm_pkg_json)
if force or ret:
if self.npm_pkg_json is not None: