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 16:50:12 +0100 |
commit | fa51fe19a1dc1ddc4c9ec879a782953fd6a15117 (patch) | |
tree | 61f25db49178671195b449c0ca15cd4a5d944c52 /meta/recipes-support | |
parent | 4f2503ebdb5c491b758cbdf6eb7df96d4295c24f (diff) | |
download | openembedded-core-fa51fe19a1dc1ddc4c9ec879a782953fd6a15117.tar.gz openembedded-core-fa51fe19a1dc1ddc4c9ec879a782953fd6a15117.tar.bz2 openembedded-core-fa51fe19a1dc1ddc4c9ec879a782953fd6a15117.tar.xz openembedded-core-fa51fe19a1dc1ddc4c9ec879a782953fd6a15117.zip |
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.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions