misc/migration/3.12.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 22 Sep 2011 10:02:25 +0200
branchstable
changeset 7823 5f145462e041
parent 7540 074a6cec246b
permissions -rw-r--r--
[repo] ensure we don't restart a task while the repo is shutting down (closes #1942736) we need a safety belt in cw itself again looping task which use 'try / except' or doesn't need to access the db (which will trigger ShuttingDown exception)

if schema['TZDatetime'].eid is None:
    add_entity_type('TZDatetime')
if schema['TZTime'].eid is None:
    add_entity_type('TZTime')