abhilekhsingh / gc3pie

Automatically exported from code.google.com/p/gc3pie
0 stars 0 forks source link

`Transport.remove()` should not raise an error for non-existent files #488

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We constantly report errors for PID/resource files that are deleted
multiple times.

`Transport.remove()` should instead just ignore any "file not found"
error (`OSError` with `.errono == 2`) and just report success in that
case.  We have no use for a picky "remove" method that complains if
the inode to be remove is nowhere to be found.

Original issue reported on code.google.com by riccardo.murri@gmail.com on 18 May 2015 at 9:27