tools_upgrade with apps : 'apps' undefined (well, it was defined, but not with the appropriate content)

This commit is contained in:
Alexandre Aubin 2021-06-04 18:22:32 +02:00 committed by GitHub
parent 5deb9972df
commit 923f703ea0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -511,7 +511,7 @@ def tools_upgrade(
# Actually start the upgrades # Actually start the upgrades
try: try:
app_upgrade(app=apps) app_upgrade(app=upgradable_apps)
except Exception as e: except Exception as e:
logger.warning("unable to upgrade apps: %s" % str(e)) logger.warning("unable to upgrade apps: %s" % str(e))
logger.error(m18n.n("app_upgrade_some_app_failed")) logger.error(m18n.n("app_upgrade_some_app_failed"))