diff options
author | Ismail Pazarbasi <ismail.pazarbasi@gmail.com> | 2015-02-15 21:50:28 +0000 |
---|---|---|
committer | Ismail Pazarbasi <ismail.pazarbasi@gmail.com> | 2015-02-15 21:50:28 +0000 |
commit | 323e3b6ae071861d24f89951791316a21cb74574 (patch) | |
tree | 91f78590d83bcc01fdd723d102fa4c5b042d1534 /lldb/scripts/Python/interface/SBModuleSpec.i | |
parent | b1607ab3543cb6500a44b69ebea72110ed03a8fa (diff) | |
download | bcm5719-llvm-323e3b6ae071861d24f89951791316a21cb74574.tar.gz bcm5719-llvm-323e3b6ae071861d24f89951791316a21cb74574.zip |
os.remove shouldn't fail, if file doesn't exist
Summary:
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.
Reviewers: emaste
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D6362
llvm-svn: 229334
Diffstat (limited to 'lldb/scripts/Python/interface/SBModuleSpec.i')
0 files changed, 0 insertions, 0 deletions