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

pull/11719/head
Brian Coca 9 years ago
parent 8146a193eb
commit e49575ff56

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

Loading…
Cancel
Save