Commit 5003b880 authored by Vincent Pelletier's avatar Vincent Pelletier

Use consistent TALES expression to specify default portal type list.

Avoid getting the list twice, follow coding style, explicitly access portal
methods on portal.
parent 76214f65
......@@ -293,7 +293,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: [(pt,pt) for pt in here.getPortalEventTypeList()]</string> </value>
<value> <string>python: [(pt, pt) for pt in here.getPortalObject().getPortalEventTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -198,7 +198,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: zip(here.getPortalObject().getPortalTicketTypeList(), here.getPortalObject().getPortalTicketTypeList())</string> </value>
<value> <string>python: [(pt, pt) for pt in here.getPortalObject().getPortalTicketTypeList()]</string> </value>
</item>
</dictionary>
</pickle>
......
656
\ No newline at end of file
657
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment