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

added wrap_text to 'last resort' as it fails if there is an error in callbacks

This commit is contained in:
Brian Coca 2015-07-24 11:24:31 -04:00
parent 8146a193eb
commit e49575ff56

View file

@ -45,7 +45,9 @@ class LastResort(object):
def display(self, msg):
print(msg, file=sys.stderr)
error = display
def error(self, msg, wrap_text=None):
print(msg, file=sys.stderr)
########################################