[GRASS-dev] svn: 41275 (Identation error in core.py?)
Glynn Clements
glynn at gclements.plus.com
Wed Mar 3 18:12:11 EST 2010
Pietro Zambelli wrote:
> then I try to run 'make':
> --
> $ cd src/grass70/lib/python/
> python $ make
> python -m py_compile /home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py
> Sorry: IndentationError: ('expected an indented block', ('/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.py', 71, 10, ' return val\n'))
> make: *** [/home/pietro/builds/grass70/src/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/script/core.pyc] Error 1
Have you edited that file? The only way that I can see that error
occurring is if the tab at the beginning of the line has been replaced
by 4 spaces (Python assumes 8-column tabs).
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list