misc/migration/3.15.0_common.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 10 Apr 2012 21:52:23 +0200
changeset 8357 8b16593abd85
parent 8352 0e3b41118631
child 8410 eb6a607a0067
permissions -rw-r--r--
[3.15 migration] repo-uri is a c-c command option and does not need migration since it doesn't exist in the configuration file
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8306
4da49700b06a [config, undo] Fix undo-support option migration
Anthony Truchet <anthony.truchet@logilab.fr>
parents:
diff changeset
     1
undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False)
4da49700b06a [config, undo] Fix undo-support option migration
Anthony Truchet <anthony.truchet@logilab.fr>
parents:
diff changeset
     2
config.global_set_option('undo-enabled', bool(undo_actions))