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

@@ -40,7 +40,7 @@ from gnome.ui import GnomeErrorDialog, GnomeWarningDialog
#
#-------------------------------------------------------------------------
import const
import utils
import Utils
import ImgManip
from intl import gettext
_ = gettext
@@ -58,7 +58,7 @@ def import_media_object(filename,path,base):
GnomeErrorDialog(_("Could not import %s\nThe file has been moved or deleted") % filename)
return ""
type = utils.get_mime_type(filename)
type = Utils.get_mime_type(filename)
if type[0:5] == "image":
name = "%s/%s.jpg" % (path,base)
base = "%s.jpg" % (base)