Am Montag, den 23.05.2005, 21:30 -0400 schrieb Ken Winter:
...
> Yessss!  For the record, the final version is:
> 
> d = [{'person_id':p.person_id,\
>       'first_name':p.first_name,\
>       'middle_names':p.middle_names,\
>       'last_name':p.last_name}\
>      for p in context.read_all_people()]
> return getattr(context, 'studentlist.htm')(data=d)

For the records: 

you can skip the \ in each line. Python does not need it :-)
Even more you can use the free space for # comments

Regards
Tino

_______________________________________________
ZPT mailing list
ZPT@zope.org
http://mail.zope.org/mailman/listinfo/zpt

Reply via email to