doesn't search for substrings).
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3456
fdb21ef1-2011-0410-befe-
b5e4ea1792b1
self.suffixes = suffixes
def __call__(self, node, env):
current = not node.has_builder() or node.is_up_to_date()
- scannable = node.get_suffix() in env.subst(self.suffixes)
+ scannable = node.get_suffix() in env.subst_list(self.suffixes)[0]
# Returning false means that the file is not scanned.
return scannable and current
continue
if saved_env[var] is _null:
try:
- env['ENV'].pop(var)
+ del env['ENV'][var]
except KeyError:
pass # was never set
else: