You don't need the {{pass}} after {{continue}} because continue (as well as 
return, break, and raise) already defines the end of a Python block (in the 
template language, pass is only needed when the end of the block would 
otherwise be ambiguous).

Anthony

On Tuesday, July 28, 2015 at 11:22:06 AM UTC-4, [email protected] 
wrote:
>
>         {{for r in pays_unconf:}}
>                     {{if type(r) != type([]):}}
>                     {{=r}}
>                     {{continue}}
>                     {{pass}}
>                     {{print 'dfdfg'}}
>            {{pass}}
>
>
> {{continue}} not work in {{for - pass}} ??
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to