From 760a450257c64554a67cf3419bf4ae73cd531cf2 Mon Sep 17 00:00:00 2001 From: Mikhail Sandakov Date: Fri, 12 Jul 2024 10:17:55 +0300 Subject: [PATCH] fixup! fixup! fixup! Refactor: Extract show_plan logic into a dedicated function --- pleskdistup/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pleskdistup/main.py b/pleskdistup/main.py index ea22f9b..bc3a4f3 100644 --- a/pleskdistup/main.py +++ b/pleskdistup/main.py @@ -585,7 +585,7 @@ def main(): options.completion_flag_path = os.path.join(options.state_dir, "dist-upgrade-done.flag") convert_result = do_convert(upgrader, options, status_file_path, logfile_path, util_name, options.show_plan) - if convert_result is not None and convert_result.successful and os.path.exists(options.completion_flag_path): + if convert_result is not None and convert_result.success and os.path.exists(options.completion_flag_path): log.info("Dist-upgrade process completed, cleaning up...") if os.path.exists(options.resume_path): os.unlink(options.resume_path)