Commit 3add2681 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

fixup! py2/py3: stop using deprecated has_key().

parent 23d8d970
...@@ -118,11 +118,11 @@ ...@@ -118,11 +118,11 @@
column_id python: column_item[0]"> column_id python: column_item[0]">
<tal:block tal:condition="python: column_property is not None"> <tal:block tal:condition="python: column_property is not None">
<table:table-cell table:style-name='listbox-table.A1' office:value-type='string'> <table:table-cell table:style-name='listbox-table.A1' office:value-type='string'>
<tal:block tal:condition="python: untranslatable_columns_dict.has_key(column_id)"> <tal:block tal:condition="python: column_id in untranslatable_columns_dict">
<text:p text:style-name='listbox-header' <text:p text:style-name='listbox-header'
tal:content="python: column_property"/> tal:content="python: column_property"/>
</tal:block> </tal:block>
<tal:block tal:condition="python: not(untranslatable_columns_dict.has_key(column_id))"> <tal:block tal:condition="python: column_id not in untranslatable_columns_dict">
<text:p text:style-name='listbox-header' <text:p text:style-name='listbox-header'
tal:content="python: here.Base_translateString(column_property)"/> tal:content="python: here.Base_translateString(column_property)"/>
</tal:block> </tal:block>
......
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