diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-05-30 17:18:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-05 22:54:20 +0100 |
commit | bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b (patch) | |
tree | 99db17b1f460e163981446392afe82d3ec4ccba4 /meta/classes/archiver.bbclass | |
parent | 3c368f4c989bee68953b6d0fbf2adc44f97cc100 (diff) | |
download | openembedded-core-bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b.tar.gz openembedded-core-bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b.tar.bz2 openembedded-core-bc9f7d7b7eda1c45ad1aaee469ebe28ee1c0c96b.zip |
generate-manifest-2.7.py: replace os.popen with os.unlink
The os.popen function would fail (more or less) silently if the executed
program cannot be found, and here what we need is os.system not os.popen
since it doesn't use the return value, use os.unlink() and ignore
exceptions from it would be better as Chris suggested.
[YOCTO #2454]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/classes/archiver.bbclass')
0 files changed, 0 insertions, 0 deletions