From 69fac34070b56b1e3405f36176e2e2c4e46a4cf9 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 10 Jun 2025 17:26:04 -0400 Subject: [PATCH] fix mer --- lib/ansible/utils/display.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index 3dff0f549d0..db953c8da5d 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -883,7 +883,6 @@ class Display(metaclass=Singleton): (out, err) = cmd.communicate() self.display(u"%s\n" % to_text(out), color=color, nowrap=True) -<<<<<<< HEAD def error_as_warning( self, msg: str | None, @@ -936,14 +935,6 @@ class Display(metaclass=Singleton): event = _error_factory.ControllerEventFactory.from_exception(msg, _traceback.is_traceback_enabled(_traceback.TracebackEvent.ERROR)) wrap_text = False -======= - @_proxy - def error(self, msg: str, wrap_text: bool = C.NOTTY_WRAP) -> None: - if wrap_text: - new_msg = u"\n[ERROR]: %s" % msg - wrapped = textwrap.wrap(new_msg, self.columns) - new_msg = u"\n".join(wrapped) + u"\n" ->>>>>>> 175789f85e7 (no tty, no wrap) else: event = _messages.Event( msg=msg,