Commit 43f6034f authored by Łukasz Nowak's avatar Łukasz Nowak

- simplify code (thanks Kazuhiko)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0564a2fd
......@@ -241,7 +241,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
<value> <string>python: getattr(object, \'getModificationDate\', object.modified)()</string> </value>
</item>
</dictionary>
</pickle>
......@@ -289,7 +289,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
<value> <string>python: getattr(object, \'getModificationDate\', object.modified)()</string> </value>
</item>
</dictionary>
</pickle>
......@@ -337,7 +337,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: getattr(object, \'getModificationDate\', None) is not None and object.getModificationDate() or object.modified()</string> </value>
<value> <string>python: getattr(object, \'getModificationDate\', object.modified)()</string> </value>
</item>
</dictionary>
</pickle>
......@@ -353,7 +353,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: member is None and object.getPortalType() in object.getPortalWebDocumentTypeList()</string> </value>
<value> <string>python: member is None and object.getPortalType() in ("Web Page", "Web Section", "Web Site")</string> </value>
</item>
</dictionary>
</pickle>
......
903
\ No newline at end of file
904
\ No newline at end of file
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