ensure that program version strings are not unicode
This commit is contained in:
parent
40ddbc6195
commit
3a8bb36e28
6
wscript
6
wscript
@ -179,8 +179,10 @@ else:
|
||||
MICRO = '0'
|
||||
|
||||
V = MAJOR + '.' + MINOR + '.' + MICRO
|
||||
VERSION = V
|
||||
PROGRAM_VERSION = MAJOR
|
||||
# Ensure that these are not unicode, which
|
||||
# can cause odd problems elsewhere
|
||||
VERSION = V.encode ('ascii', 'ignore')
|
||||
PROGRAM_VERSION = MAJOR.encode ('ascii', 'ignore')
|
||||
|
||||
# Mandatory variables
|
||||
top = '.'
|
||||
|
Loading…
Reference in New Issue
Block a user