From ee7ef78f6d988bc334c8d10b082d90b3ec556741 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 14 Jan 2013 18:26:19 +0000 Subject: [PATCH] more absolute addressing, not relative svn: r21116 --- gramps/gen/const.py.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gramps/gen/const.py.in b/gramps/gen/const.py.in index e16ac8cad..d0dd1fc5e 100644 --- a/gramps/gen/const.py.in +++ b/gramps/gen/const.py.in @@ -65,7 +65,6 @@ def get_version_tuple(v): return tuple(map(int, retval.split("."))) VERSION_TUPLE = get_version_tuple(VERSION) major_version = "%s.%s" % (VERSION_TUPLE[0], VERSION_TUPLE[1]) -VERSION += get_svn_revision() #------------------------------------------------------------------------- # @@ -171,6 +170,8 @@ if sys.version_info[0] < 3: ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname( unicode(__file__, sys.getfilesystemencoding())), os.pardir)) +VERSION += get_svn_revision(ROOT_DIR) + # # Glade files #