bitbake: Warn upon finding tab indentation in python functions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 18 Jul 2012 11:35:11 +0000 (11:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 08:52:32 +0000 (09:52 +0100)
commitc51cfaf48d3b12a19b01e824b6ba4230376bcad4
tree8861ebc1182642f4f9be5118df13740855be90a4
parentb2017f493ab730d804ae44ec5a168d464626d046
bitbake: Warn upon finding tab indentation in python functions

Mixed spacing in python functions can cause subtle issues and
generally confuses users. We've standardised on 4 space indentation,
adding this warning helps ensure consistency and avoid bugs. It
also makes _prepend and _append operations on python functions slightly
less risky.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/data.py
lib/bb/parse/ast.py