From 70927c68b2f6966199db4983fd5ee6dc084872bc Mon Sep 17 00:00:00 2001 From: Andrew Anglin Date: Thu, 30 May 2024 11:03:52 -0400 Subject: [PATCH] Moved the confirmation of user backup * the confirmation for the users backup is now its own function and is seperated from the print_data_collection() as this has noting to do with that function * Added the call to the new function to be right after the print_data_collection() --- convert2rhel/breadcrumbs.py | 1 + convert2rhel/main.py | 1 + 2 files changed, 2 insertions(+) diff --git a/convert2rhel/breadcrumbs.py b/convert2rhel/breadcrumbs.py index 856672b901..9a1054bb8e 100644 --- a/convert2rhel/breadcrumbs.py +++ b/convert2rhel/breadcrumbs.py @@ -226,6 +226,7 @@ def print_data_collection(self): ) utils.ask_to_continue() + def confirm_backup(self): # Add in the warning about the system back up here! loggerinst.warnign( "Convert2RHEL modifies the systems during the analysis and then rolls back these" diff --git a/convert2rhel/main.py b/convert2rhel/main.py index 92743bc2d1..4984a1600d 100644 --- a/convert2rhel/main.py +++ b/convert2rhel/main.py @@ -326,6 +326,7 @@ def perform_boilerplate(): loggerinst.task("Prepare: Inform about data collection") breadcrumbs.breadcrumbs.print_data_collection() + breadcrumbs.bredcrumbs.confirm_backup() def show_eula():