Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Hosek <hosek.adam@outlook.com>
  • Loading branch information
r0x0d and hosekadam authored Feb 15, 2024
1 parent c989332 commit a5c85de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions convert2rhel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def main_locked():
except _AnalyzeExit:
breadcrumbs.breadcrumbs.finish_collection(success=True)
# Update RHSM custom facts only when this returns False. Otherwise,
# sub-man get uninstalled and the data is removed from the server.
# sub-man get uninstalled and the data is removed from the RHSM server.
if not subscription.should_subscribe():
subscription.update_rhsm_custom_facts()

Expand Down Expand Up @@ -207,7 +207,7 @@ def _handle_main_exceptions(process_phase, pre_conversion_results=None):
loggerinst.info(no_changes_msg)
elif process_phase == ConversionPhase.PRE_PONR_CHANGES:
# Update RHSM custom facts only when this returns False. Otherwise,
# sub-man get uninstalled and the data is removed from the server.
# sub-man get uninstalled and the data is removed from the RHSM server.
if not subscription.should_subscribe():
subscription.update_rhsm_custom_facts()

Expand Down

0 comments on commit a5c85de

Please sign in to comment.