no bare 'except'

This commit is contained in:
Martin Diehl 2020-01-28 23:39:46 +01:00
parent fb5e57aa1a
commit ff41061759
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ for name in filenames:
try: try:
table = damask.ASCIItable(name = name, table = damask.ASCIItable(name = name,
buffered = False) buffered = False)
except: continue except IOError:
continue
damask.util.report(scriptName,name) damask.util.report(scriptName,name)
# ------------------------------------------ read header ------------------------------------------ # ------------------------------------------ read header ------------------------------------------