From 948aa0c5443257037eab17e5d2368e41e7b8777d Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 24 Sep 2015 10:01:15 +0000 Subject: [PATCH] was missing in last commit --- lib/damask/util.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/damask/util.py b/lib/damask/util.py index a6bbdf932..5f30d3758 100644 --- a/lib/damask/util.py +++ b/lib/damask/util.py @@ -6,8 +6,7 @@ import numpy as np from optparse import OptionParser, Option # ----------------------------- -def croak(self, - what, +def croak(what, newline = True): # ----------------------------- sys.stderr.write(('\n'.join(map(str,what)) if not hasattr(what, "strip") @@ -397,4 +396,4 @@ def curve_fit_bound(f, xdata, ydata, p0=None, sigma=None, bounds=None, **kw): if return_full: return popt, pcov, infodict, errmsg, ier else: - return popt, pcov \ No newline at end of file + return popt, pcov