migration/1.9.0_Any.py
author David Douard <david.douard@logilab.fr>
Fri, 14 Nov 2014 12:31:47 +0100
changeset 1776 f1a23fc56270
parent 744 232b5fedc378
permissions -rw-r--r--
[narval] lgp and pkginfo now lives in logilab-packaging And pkginfo is in fact mandatory for the python checkers. Also ensure lgp checkers are properly disabled if lgp is not found.

sync_schema_props_perms('TestExecution', syncperms=False)
sync_schema_props_perms('CheckResultInfo', syncperms=False)
sync_schema_props_perms('use_environment', syncprops=False)
sync_schema_props_perms('local_repository', syncprops=False)
if 'file' in config.cubes():
    add_relation_definition('TestExecution', 'log_file', 'File')
    sync_schema_props_perms('File', syncprops=False)
else:
    add_cube('file')