[OE-core] [PATCH 1/2] oeqa/utils/logparser.py: results based log parser utility

Stoicescu, CorneliuX corneliux.stoicescu at intel.com
Wed Sep 3 15:14:07 UTC 2014



> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf
> Of Burton, Ross
> Sent: Wednesday, September 03, 2014 5:59 PM
> To: Musat, GeorgeX L
> Cc: OE-core
> Subject: Re: [OE-core] [PATCH 1/2] oeqa/utils/logparser.py: results based log
> parser utility
> 
> On 2 September 2014 14:10, Lucian Musat <georgex.l.musat at intel.com>
> wrote:
> > +sys.path.insert(0,
> > +os.path.abspath(os.path.join(os.path.dirname(__file__), '..',
> > +'meta/lib'))) import oeqa.utils.ftools as ftools
> 
> Doesn't that add .../poky/meta/lib/oeqa/meta/lib to the search path, which
> doesn't make any sense.  You shouldn't need to mess with the path to import
> a sibling module.
> 
> Ross


Yes, that should be removed. It stayed over from when this was a standalone script. Please remove this and just use 'import ftools' .

Regards,
Corneliu



More information about the Openembedded-core mailing list