From 6e5c555e374c83b8a2702ce17eae223702cd0af4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 17 Jul 2024 17:56:32 +0200 Subject: [PATCH] flake8 etc --- src/migrations/0027_migrate_to_bookworm.py.disabled | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/migrations/0027_migrate_to_bookworm.py.disabled b/src/migrations/0027_migrate_to_bookworm.py.disabled index 30d36544a..a33e1e7ba 100644 --- a/src/migrations/0027_migrate_to_bookworm.py.disabled +++ b/src/migrations/0027_migrate_to_bookworm.py.disabled @@ -218,11 +218,11 @@ class MyMigration(Migration): # Yunohost upgrade # logger.info(m18n.n("migration_0027_yunohost_upgrade")) - aptitude_with_progress_bar(f"unhold yunohost moulinette ssowat yunohost-admin") + aptitude_with_progress_bar("unhold yunohost moulinette ssowat yunohost-admin") try: aptitude_with_progress_bar("full-upgrade --show-why yunohost yunohost-admin yunohost-portal moulinette ssowat python3.9- python3.9-venv- -o Dpkg::Options::='--force-confold'") - except Exception as e: + except Exception: # Retry after unholding the app packages, maybe it can unlock the situation idk if apps_packages: aptitude_with_progress_bar(f"unhold {' '.join(apps_packages)}")