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/errors | |
parent | a7dd425620e0a40911908a41e1b378183ae690f4 (diff) | |
download | ansible-b1223746cdb75827093e1d96115047aa0b5f343f.tar.gz |
Relocate use of ERROR to display class, to avoid doubling up
Diffstat (limited to 'lib/ansible/errors')
-rw-r--r-- | lib/ansible/errors/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/errors/__init__.py b/lib/ansible/errors/__init__.py index ffe6c9013d..faf7c33416 100644 --- a/lib/ansible/errors/__init__.py +++ b/lib/ansible/errors/__init__.py @@ -54,9 +54,9 @@ class AnsibleError(Exception): if obj and isinstance(obj, AnsibleBaseYAMLObject): extended_error = self._get_extended_error() if extended_error: - self.message = 'ERROR! %s\n\n%s' % (to_str(message), to_str(extended_error)) + self.message = '%s\n\n%s' % (to_str(message), to_str(extended_error)) else: - self.message = 'ERROR! %s' % to_str(message) + self.message = '%s' % to_str(message) def __str__(self): return self.message |