[Scons-users] possible bug
Dirk Bächle
tshortik at gmx.de
Tue May 13 12:47:36 EDT 2014
On 13.05.2014 10:19, Tom Tanner (BLOOMBERG/ LONDON) wrote:
> I think that's a +1 if you mean 'setting env['SUBST_DICT'] to None in the textfile _generate code?
>
> Am feeling a bit dim right now, but I tried this:
> env['SUBST_DICT'] = None
> env.Textfile(target='foo', source=['some', 'array', ''])
>
> and got an error as SUBST_DICT isn't a dict
Yeah, sorry that I wasn't more explicit. You need to set the default in
the generate() method, and will also have to amend the places where
SUBST_DICT gets checked for, like in textfile.py, ll. 87.
Dirk
More information about the Scons-users
mailing list