Thank you , sorry , this is my fault, stupid copy past error .
2010/10/3 mdipierro <[email protected]>: > more likely there is an incomplete line before and it expects an > indented block > > On Oct 3, 9:41 am, Dr Schmulge <[email protected]> wrote: >> Hi all >> >> Missing gluon.tools import ?? >> >> File "/home/john/web2py/applications/testapp/models/menu.py", line 32 >> if auth.has_membership(auth.id_group('Administrator')): >> ^ >> SyntaxError: invalid syntax >> >> in file menu.py >> >> if auth.has_membership(auth.id_group('Administrator')): >> response.menu=[ >> [T('Our company'),False,URL('index')], >> [T('Contacts'),False,URL('list_contacts')], >> [T('Help'),False,URL('list_persons')], >> [T('Users'),False,URL('list_tasks')], >> [T('MAPP'),False,URL('list_tasks')], >> [T('RFID'),False,URL('list_tasks')], >> [T('Report'),False,URL('list_tasks')], >> ] >> >> Thanks in advance.

