[entropy.client] also catch OSError exception

This commit is contained in:
Fabio Erculiani
2010-01-29 11:52:33 +01:00
parent 07d3456e98
commit c2ad1c8cb5
@@ -1996,7 +1996,7 @@ class Repository:
shutil.copy2(from_mypath, to_mypath)
my_show_file_unpack(myfile)
os.remove(from_mypath)
except (shutil.Error, IOError,):
except (shutil.Error, IOError, OSError,):
continue
continue