From 7af413bbc40d9932444397b3630715470f061475 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Mon, 14 Jan 2013 18:25:54 +0000 Subject: [PATCH] more absolute addressing, not relative svn: r21115 --- 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 #