Converted gramps_main.py to a class, replace utils.py with Utils.py and

Config.py with GrampsCfg.py (for pychecker)


svn: r789
This commit is contained in:
Don Allingham
2002-02-22 03:55:32 +00:00
parent 8285071eee
commit d9c223deed
66 changed files with 2085 additions and 2513 deletions

View File

@@ -38,7 +38,7 @@ import os
#
#-------------------------------------------------------------------------
import const
import Config
import GrampsCfg
from RelLib import *
from Date import SingleDate
from intl import gettext
@@ -65,7 +65,7 @@ def exportData(database, filename, callback):
if os.path.isfile(filename):
shutil.copy(filename, filename + ".bak")
compress = Config.uncompress ==0 and _gzip_ok == 1
compress = GrampsCfg.uncompress ==0 and _gzip_ok == 1
try:
g = XmlWriter(database,callback,0,compress)