misc/migration/3.12.0_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Jul 2011 19:48:37 +0200
changeset 7648 5d5d98930247
parent 7540 074a6cec246b
permissions -rw-r--r--
[repo, hooks] small task optimization: don't start cleanup_old_transactions when undo support is not activated, and retrieve a session to update a source only when some source to update is found

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