more absolute addressing, not relative

svn: r21115
This commit is contained in:
Paul Franklin 2013-01-14 18:25:54 +00:00
parent b20e711c30
commit 7af413bbc4

View File

@ -65,7 +65,6 @@ def get_version_tuple(v):
return tuple(map(int, retval.split("."))) return tuple(map(int, retval.split(".")))
VERSION_TUPLE = get_version_tuple(VERSION) VERSION_TUPLE = get_version_tuple(VERSION)
major_version = "%s.%s" % (VERSION_TUPLE[0], VERSION_TUPLE[1]) 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( ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(
unicode(__file__, sys.getfilesystemencoding())), os.pardir)) unicode(__file__, sys.getfilesystemencoding())), os.pardir))
VERSION += get_svn_revision(ROOT_DIR)
# #
# Glade files # Glade files
# #