misc/migration/3.15.0_common.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 12 Apr 2012 13:52:23 +0200
changeset 8370 7a15f476dbb3
parent 8357 8b16593abd85
child 8410 eb6a607a0067
permissions -rw-r--r--
3.15.0
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))