Re: [OE-core] [PATCH] license.bbclass: Check if copyfile succeeded with isfile

2012-04-04 Thread Saul Wold
On 04/03/2012 04:05 AM, Andrei Gherzan wrote: 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 --- meta/classe

[OE-core] [PATCH] license.bbclass: Check if copyfile succeeded with isfile

2012-04-03 Thread Andrei Gherzan
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 --- meta/classes/license.bbclass |5 +++-- 1 files changed,