Permalink
Browse files

five.pt / Chameleon compatibility

Chameleon does not like the variable name "path" in list expansions. Replace it with "p".
  • Loading branch information...
1 parent 02885c0 commit 97f90d35b2af0aad12812ceec7ae731b68032448 @gaudenz committed Mar 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Products/CMFPlomino/skins/cmfplomino_templates/DOCLINKFieldEdit.pt
@@ -3,7 +3,7 @@
name python:options['fieldname'];
current python:options['fieldvalue'];
lcurrent python:test(hasattr(current,'split'),[current],current);
- lcurrent_ids python:[path.split('/')[-1] for path in lcurrent];
+ lcurrent_ids python:[p.split('/')[-1] for p in lcurrent];
">
<tal:widget tal:condition="python:test(widget=='SELECT')">
<select tal:attributes="name name"><tal:loop tal:repeat="v selection">

0 comments on commit 97f90d3

Please sign in to comment.