Removed version-check that required hg.

This commit is contained in:
Griatch 2014-01-23 01:17:39 +01:00
parent 2c4a0a5fc8
commit 443a29d63f
3 changed files with 9 additions and 2 deletions

View file

@ -16,7 +16,7 @@ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
#------------------------------------------------------------
try:
f = open(os.pardir + os.sep + 'VERSION.txt', 'r''')
VERSION = "%s-r%s" % (f.read().strip(), os.popen("hg id -i").read().strip())
VERSION = "%s" % f.read().strip()
f.close()
except IOError:
VERSION = "Unknown version"