[oe] [PATCH 1/2] source-checker: usability tweaks

Michael Smith msmith at cbnco.com
Tue Jun 30 00:56:16 UTC 2009


On Mon, 29 Jun 2009, Marcin Juszkiewicz wrote:

> Dnia sobota, 27 czerwca 2009 o 23:29:38 Michael Smith napisał(a):
>> send usage to stderr; 
> NACK - most of tools which I use use stdout for --help/usage stuff.

OK, right, errors should go to stderr and usage to stdout.

>>  accept --inplace option to read and write from the same file.
> OSError: [Errno 18] Invalid cross-device link

Yes, the tmpfile needs to be in the same directory as the checksums.ini. 
I'll fix that. I think os.rename is still the right way to do it (it's 
guaranteed to be atomic, or fall flat on its face :).

Mike


More information about the Openembedded-devel mailing list