wscript: drop str() on VERSION

It will already have been converted to str in sanitize(), and even
python2 is fine without the extra str.
This commit is contained in:
Mads Kiilerich 2022-10-15 14:05:36 +02:00 committed by Paul Davis
parent 2bb311f99b
commit 0e3e51d958
7 changed files with 13 additions and 13 deletions

View file

@ -42,7 +42,7 @@ def build(bld):
'libmidipp',
]
obj.defines = [
'VERSIONSTRING="' + str(bld.env['VERSION']) + '"',
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
'LOCALEDIR="' + os.path.join(os.path.normpath(bld.env['DATADIR']), 'locale') + '"',