[PATCH] os.remove shouldn't fail, if file doesn't exist
Ismail Pazarbasi
ismail.pazarbasi at gmail.com
Fri Nov 21 13:45:59 PST 2014
Hi emaste,
os.remove might throw an exception (of type OSError), if given file
doesn't exist. Catch the exception, and ignore it //iff// errno is
ENOENT. Rethrow the exception, if errno is not ENOENT.
http://reviews.llvm.org/D6362
Files:
scripts/Python/buildSwigPython.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6362.16507.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141121/10777321/attachment.bin>
More information about the llvm-commits
mailing list