Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
This commit is contained in:
@@ -31,17 +31,17 @@ 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)
|
||||
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"
|
||||
if not os.path.exists(INIFILE):
|
||||
try:
|
||||
__upgrade_gconf()
|
||||
except ImportError:
|
||||
print "Cannot upgrade GCONF settings"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user