not needed any more (at more usefull position in damask.util)

This commit is contained in:
Martin Diehl 2015-11-30 16:30:35 +00:00
parent f61f87e6d0
commit 161e637ba6
1 changed files with 0 additions and 14 deletions

View File

@ -69,20 +69,6 @@ class ASCIItable():
except: except:
return 0.0 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, def close(self,
dismiss = False): dismiss = False):