misc/migration/3.12.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 Oct 2011 16:14:08 +0200
changeset 7913 d0c6a7993cec
parent 7540 074a6cec246b
permissions -rw-r--r--
[web, formatting] move Interval data type display logic from final view to printable_value (closes #1984742) also, fix implementation so that negative time delta are properly considered
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')