1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Revert "fix TypeError: coercing to Unicode: need string or buffer, AnsibleParserError found"

This reverts commit d1e0719e4c.
This commit is contained in:
qqo 2016-03-17 00:50:47 +03:00
parent d1e0719e4c
commit 85e843baee

View file

@ -273,7 +273,7 @@ class Display:
wrapped = textwrap.wrap(new_msg, self.columns)
new_msg = u"\n".join(wrapped) + u"\n"
else:
new_msg = u"ERROR! %s" % msg
new_msg = u"ERROR! " + msg
if new_msg not in self._errors:
self.display(new_msg, color=C.COLOR_ERROR, stderr=True)
self._errors[new_msg] = 1