locs=[row for row in dept_locs if row.id in todept_locs.as_dict()]

The . was missing.

On Monday, 10 June 2013 00:21:43 UTC-5, webpypy wrote:
>
>
>     locs=[row for row in dept_locs if row.id in todept_locs as_dict()]
>
> is invalid syntax.
>
> what is the problem?
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to