misc/migration/3.12.0_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 11 Oct 2011 18:18:14 +0200
branchstable
changeset 7938 80c6e2155c3d
parent 7540 074a6cec246b
permissions -rw-r--r--
AnyRsetView: Refactor the columns_name method and update doc. We drop the 'label_column_%s' % colidx pattern and add a clean column_label method that might be overwritten by children class to alter the way default columns headers are computed.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7540
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     1
if schema['TZDatetime'].eid is None:
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     2
    add_entity_type('TZDatetime')
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     3
if schema['TZTime'].eid is None:
074a6cec246b fix 3.12.0 migration script (closes: #1766202)
Alexandre Fayolle <alexandre.fayolle@logilab.fr>
parents: 7166
diff changeset
     4
    add_entity_type('TZTime')