From 51324b182ffdc417e300cf6df3812a07feae4d21 Mon Sep 17 00:00:00 2001 From: Enno Borgsteede Date: Sun, 12 Apr 2015 10:44:28 -0700 Subject: [PATCH] 8483: db upgrade fails, fatal damage --- gramps/gen/const.py | 2 +- gramps/gen/merge/test/merge_ref_test.py | 2 +- gramps/gen/plug/_pluginreg.py | 2 +- gramps/gen/plug/utils.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gramps/gen/const.py b/gramps/gen/const.py index bc80ee0a6..2453a0c62 100644 --- a/gramps/gen/const.py +++ b/gramps/gen/const.py @@ -49,7 +49,7 @@ from .constfunc import get_env_var, conv_to_unicode # #------------------------------------------------------------------------- PROGRAM_NAME = "Gramps" -from ..version import VERSION, VERSION_TUPLE, major_version +from gramps.version import VERSION, VERSION_TUPLE, major_version #------------------------------------------------------------------------- # # Standard GRAMPS Websites diff --git a/gramps/gen/merge/test/merge_ref_test.py b/gramps/gen/merge/test/merge_ref_test.py index ecb40721b..4763ea60d 100644 --- a/gramps/gen/merge/test/merge_ref_test.py +++ b/gramps/gen/merge/test/merge_ref_test.py @@ -33,7 +33,7 @@ import libxslt from gramps.plugins.lib.libgrampsxml import GRAMPS_XML_VERSION from ...const import ROOT_DIR, USER_PLUGINS -from ....version import VERSION +from gramps.version import VERSION from ...lib import Name, Surname from ...const import GRAMPS_LOCALE as glocale _ = glocale.translation.sgettext diff --git a/gramps/gen/plug/_pluginreg.py b/gramps/gen/plug/_pluginreg.py index 26b1a0150..b4a20d754 100644 --- a/gramps/gen/plug/_pluginreg.py +++ b/gramps/gen/plug/_pluginreg.py @@ -42,7 +42,7 @@ import io # GRAMPS modules # #------------------------------------------------------------------------- -from ...version import VERSION as GRAMPSVERSION, VERSION_TUPLE +from gramps.version import VERSION as GRAMPSVERSION, VERSION_TUPLE from ..const import IMAGE_DIR from ..const import GRAMPS_LOCALE as glocale _ = glocale.translation.gettext diff --git a/gramps/gen/plug/utils.py b/gramps/gen/plug/utils.py index ffb720b1d..c55d92049 100644 --- a/gramps/gen/plug/utils.py +++ b/gramps/gen/plug/utils.py @@ -50,7 +50,7 @@ LOG = logging.getLogger(".gen.plug") #------------------------------------------------------------------------- from ._pluginreg import make_environment from ..const import USER_PLUGINS -from ...version import VERSION_TUPLE +from gramps.version import VERSION_TUPLE from . import BasePluginManager from ..utils.configmanager import safe_eval from ..config import config