not needed any more (at more usefull position in damask.util)
This commit is contained in:
parent
f61f87e6d0
commit
161e637ba6
|
@ -69,20 +69,6 @@ class ASCIItable():
|
|||
except:
|
||||
return 0.0
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
def croak(self,
|
||||
what,
|
||||
newline = True):
|
||||
|
||||
sys.stderr.write(('\n'.join(map(str,what)) if not hasattr(what, "strip")
|
||||
and hasattr(what, "__getitem__")
|
||||
or hasattr(what, "__iter__") else str(what))
|
||||
+('\n' if newline else ''))
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
def report_name(self, scriptName, fileName):
|
||||
self.croak(util.emph(scriptName)+(': '+fileName if fileName else ''))
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
def close(self,
|
||||
dismiss = False):
|
||||
|
|
Loading…
Reference in New Issue