might be needed in multicore env

This commit is contained in:
Martin Diehl 2015-10-06 18:01:31 +00:00
parent c1a53bc8c0
commit 6e05082133
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ def croak(what,
and hasattr(what, "__getitem__") and hasattr(what, "__getitem__")
or hasattr(what, "__iter__") else str(what)) or hasattr(what, "__iter__") else str(what))
+('\n' if newline else '')) +('\n' if newline else ''))
sys.stderr.flush()
# ----------------------------- # -----------------------------
def report(who,what): def report(who,what):