bitbake/parser,build,utils:
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 26 Feb 2006 11:07:47 +0000 (11:07 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 26 Feb 2006 11:07:47 +0000 (11:07 +0000)
commit4f807c93f8f72eb73b8600d1f73a3e26014a3167
tree7e1d0b5a52c45081238da4c067e9c462a20a7198
parent7dc97df197bde5dde7fffad737f493b0cb94c576
bitbake/parser,build,utils:
    We compile strings into code. In case of erros the traceback
    is not useful at all. It doesn't print the function name,
    accurate line number etc.
    Introduce a better_compile method that excepts the Error
    and prints the surrounding lines of code.
    We make use of it on the parsing level and execution level
    of python methods.
lib/bb/build.py
lib/bb/parse/parse_py/BBHandler.py
lib/bb/utils.py