2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-23 02:16:01 +01:00

Fix for bld(features='subst', fun=xyz)

This commit is contained in:
Thomas Nagy 2014-03-11 01:18:58 +01:00
parent 584bc46c55
commit 15f24dc7d6
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -674,7 +674,7 @@ class subst_pc(Task.Task):
return None
if getattr(self.generator, 'fun', None):
self.generator.fun(self)
return self.generator.fun(self)
code = self.inputs[0].read(encoding=getattr(self.generator, 'encoding', 'ISO8859-1'))
if getattr(self.generator, 'subst_fun', None):