diff options
author | James Cammarata <jimi@sngx.net> | 2016-01-19 12:09:04 -0500 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2016-01-19 12:10:39 -0500 |
commit | b1223746cdb75827093e1d96115047aa0b5f343f (patch) | |
tree | 82f4100d9ce03b114fa407955b389a01d8567b14 /lib/ansible/utils/display.py | |
parent | a7dd425620e0a40911908a41e1b378183ae690f4 (diff) | |
download | ansible-b1223746cdb75827093e1d96115047aa0b5f343f.tar.gz |
Relocate use of ERROR to display class, to avoid doubling up
Diffstat (limited to 'lib/ansible/utils/display.py')
-rw-r--r-- | lib/ansible/utils/display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index 57cee14ffe..3703c15540 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -261,7 +261,7 @@ class Display: wrapped = textwrap.wrap(new_msg, self.columns) new_msg = u"\n".join(wrapped) + u"\n" else: - new_msg = 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 |