Skip to content

Commit

Permalink
fixup! fixup! fixup! Refactor: Extract show_plan logic into a dedicat…
Browse files Browse the repository at this point in the history
…ed function
  • Loading branch information
Mikhail Sandakov committed Jul 12, 2024
1 parent 162c852 commit 760a450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pleskdistup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 760a450

Please sign in to comment.