10
0
mirror of https://gitlab.com/scemama/EZFIO.git synced 2024-11-19 04:22:25 +01:00

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

View File

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