[LTP] [PATCH] realtime/scripts: Fix indentation error in parser.py

Petr Vorel pvorel@suse.cz
Thu Apr 1 08:35:26 CEST 2021


Hi Sharan,

> An indentation error in parser.py causes certain blocks
> of code to run even before dependent variables are
> initialized when the code in this file is imported
> by parse-testpi1.py or parse-testpi2.py.

> Post running tests like testpi-2 or testpi-4, the
> results of these tests are parsed and added to the
> logs/ directory. This bug prevents the results of such
> tests from being parsed and thus masks the results of
> these tests.

Thanks for your fix, merged!

It looks to me that 5a8408bc3 changed also whitespace in other files (it was
done by 2to3 script), but these are IMHO correct.

BTW looking into realtime sources, the code is terrible. Not sure how relevant
it is now.

Kind regards,
Petr


More information about the ltp mailing list