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 #