--- a/misc/migration/3.15.0_common.py Tue May 15 14:44:45 2012 +0200
+++ b/misc/migration/3.15.0_common.py Wed May 16 09:57:57 2012 +0200
@@ -1,2 +1,7 @@
-undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False)
-config.global_set_option('undo-enabled', bool(undo_actions))
+import ConfigParser
+try:
+ undo_actions = config.cfgfile_parser.get('MAIN', 'undo-support', False)
+except ConfigParser.NoOptionError:
+ pass # this conf. file was probably already migrated
+else:
+ config.global_set_option('undo-enabled', bool(undo_actions))