bugfix: report again correctly
This commit is contained in:
parent
a1beb80b54
commit
794d7e485e
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue