misc/migration/3.15.0_common.py
author Anthony Truchet <anthony.truchet@logilab.fr>
Thu, 15 Mar 2012 14:26:12 +0100
changeset 8306 4da49700b06a
child 8352 0e3b41118631
permissions -rw-r--r--
[config, undo] Fix undo-support option migration

undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False)
config.global_set_option('undo-enabled', bool(undo_actions))