From e49575ff56c3b81c9e1fde32c1841ab23555371a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 24 Jul 2015 11:24:31 -0400 Subject: [PATCH] added wrap_text to 'last resort' as it fails if there is an error in callbacks --- bin/ansible | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ansible b/bin/ansible index 445e722f576..209b235c88d 100755 --- a/bin/ansible +++ b/bin/ansible @@ -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) + ########################################