fix wscript to handle git revision ID that consists of just MAJOR.MINOR, as will happen if the repo is at the exact same rev as the MAJOR.MINOR tag

Conflicts:
	wscript
This commit is contained in:
Paul Davis 2014-05-28 15:53:25 -04:00
parent 10b6bb833c
commit f820dc3717

View file

@ -38,7 +38,7 @@ MAJOR = parts[0]
other = parts[1].split ('-')
MINOR = other[0]
if len(other) > 1:
MICRO = other[0]
MICRO = other[1]
else:
MICRO = '0'