diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2012-04-03 14:05:48 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-04 17:17:51 +0100 |
commit | 1dc560c9d21081bcb73ff1eac0070ea58b4880cd (patch) | |
tree | 852c2373a659bc8863306cec6eee84eb5ebe7ee5 /meta/lib/oe/license.py | |
parent | fedad51cb4e141fd9157813ff30e0521cf994f95 (diff) | |
download | poky-1dc560c9d21081bcb73ff1eac0070ea58b4880cd.tar.gz |
license.bbclass: Check if copyfile succeeded with isfile
A cleaner way to check if copyfile suceeded is to use os.path.isfile.
In this way we can omit warns in some python versions where copyfile
return the same non-0 value even is this action is successfull.
(From OE-Core rev: fa51fe19a1dc1ddc4c9ec879a782953fd6a15117)
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/license.py')
0 files changed, 0 insertions, 0 deletions