Better exception handling in archive_ezfio

This commit is contained in:
Anthony Scemama 2015-07-31 18:50:50 +02:00
parent 0cce47969a
commit 73b7a1fc60
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def main():
f_name = f[4:]
try:
exec """d['%s'] = ezfio.%s"""%(f_name,f_name)
except:
except IOError:
if do_verbose:
print "%-40s [%5s]"%(f_name, "Empty")
else: