misc/migration/3.12.0_Any.py
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 07 Sep 2011 11:37:41 +0200
branchstable
changeset 7767 07c74f5585d1
parent 7540 074a6cec246b
permissions -rw-r--r--
[debian] build the book with no auto-compression of book files (closes: #1906581) Book content paths (html and rest) are now excluded from Debian compression step. This will fix a documentation search issue on the website (doc.cubicweb.org) Documentation build is now made optional since it can break for old distributions and we don't want to block a new release of Cubicweb because of documentation issues.
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')