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:
parent
584bc46c55
commit
15f24dc7d6
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user