No longer upgrade from gconf for ini settings
svn: r11443
This commit is contained in:
parent
567315931e
commit
aadc0009af
@ -29,21 +29,4 @@ It provides the choice between different storage backends.
|
|||||||
from _GrampsConfigKeys import *
|
from _GrampsConfigKeys import *
|
||||||
from _GrampsIniKeys import *
|
from _GrampsIniKeys import *
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
def __upgrade_gconf():
|
|
||||||
import _GrampsGconfKeys as GconfKeys
|
|
||||||
print "Upgrading INI file"
|
|
||||||
for key in default_value.keys():
|
|
||||||
data = GconfKeys.get(key)
|
|
||||||
set(key, data)
|
|
||||||
|
|
||||||
if not os.path.exists(INIFILE):
|
|
||||||
try:
|
|
||||||
__upgrade_gconf()
|
|
||||||
except ImportError:
|
|
||||||
print "Cannot upgrade GCONF settings"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user