misc/migration/3.15.0_common.py
author Vincent Michel <vincent.michel@logilab.fr>
Tue, 10 Apr 2012 17:09:04 +0200
changeset 8352 0e3b41118631
parent 8306 4da49700b06a
child 8357 8b16593abd85
permissions -rw-r--r--
[dbapi] add possibility to connect to a remote ZMQRepository (closes #2290126)

undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False)
config.global_set_option('undo-enabled', bool(undo_actions))
pyro_actions = config.cfgfile_parser.get('REMOTE', 'pyro', False)
if pyro_actions:
    config.global_set_option('repo-uri', 'pyro://')