[web2py] Re: auth.has_membership syntax erron

2010-10-03 Thread mdipierro
we all do that. ;-) On Oct 3, 12:28 pm, Dr Schmulge wrote: > Thank you , sorry , this is my fault, stupid copy past error  . > > 2010/10/3 mdipierro : > > > more likely there is an incomplete line before and it expects an > > indented block > > > On Oct 3, 9:41 am, Dr Schmulge wrote: > >> Hi al

Re: [web2py] Re: auth.has_membership syntax erron

2010-10-03 Thread Dr Schmulge
Thank you , sorry , this is my fault, stupid copy past error . 2010/10/3 mdipierro : > more likely there is an incomplete line before and it expects an > indented block > > On Oct 3, 9:41 am, Dr Schmulge wrote: >> Hi all >> >>  Missing gluon.tools  import ?? >> >> File "/home/john/web2py/applica

[web2py] Re: auth.has_membership syntax erron

2010-10-03 Thread mdipierro
more likely there is an incomplete line before and it expects an indented block On Oct 3, 9:41 am, Dr Schmulge 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'))