From 794d7e485e0b52844d282f2d5fa5abf3c3d6347a Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 16 Mar 2020 20:02:05 +0100 Subject: [PATCH] bugfix: report again correctly --- python/damask/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/util.py b/python/damask/util.py index 09a5c9cde..94d8cb95c 100644 --- a/python/damask/util.py +++ b/python/damask/util.py @@ -71,7 +71,7 @@ def croak(what, newline = True): Separate items of what by newline. Defaults to True. """ - if not what: + if what: sys.stderr.write(srepr(what,glue = '\n') + ('\n' if newline else '')) sys.stderr.flush()