diff --git a/src/subscription_manager/cli_command/abstract_syspurpose.py b/src/subscription_manager/cli_command/abstract_syspurpose.py index 18f716bc02..0fe2eb2689 100644 --- a/src/subscription_manager/cli_command/abstract_syspurpose.py +++ b/src/subscription_manager/cli_command/abstract_syspurpose.py @@ -458,8 +458,9 @@ def _create_argparser(self): def check_syspurpose_support(self, attr): if self.is_registered() and not self.cp.has_capability('syspurpose'): - print(_("Note: The currently configured entitlement server does not support System Purpose {attr}.".format( - attr=attr))) + print(_( + "Note: The currently configured entitlement server does not support System Purpose {attr}." + ).format(attr=attr)) def _check_result(self, expectation, success_msg, command, attr): if self.store: @@ -470,7 +471,7 @@ def _check_result(self, expectation, success_msg, command, attr): if result and not expectation(result): advice = SP_ADVICE.format(command=command) value = result[attr] - msg = _(SP_CONFLICT_MESSAGE.format(attr=attr, download_value=value, advice=advice)) + msg = SP_CONFLICT_MESSAGE.format(attr=attr, download_value=value, advice=advice) system_exit(os.EX_SOFTWARE, msgs=msg) else: print(success_msg)