summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt3
-rw-r--r--src/engine/SCons/Sig/__init__.py4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 5dd578e..ad07cf7 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -37,6 +37,9 @@ RELEASE 0.08 -
- Fix --implicit-cache causing redundant rebuilds when the header
file list changed.
+ - Fix --implicit-cache when a file has no implicit dependencies and
+ its source is generated.
+
From Zed Shaw:
- Add an Append() method to Environments, to append values to
diff --git a/src/engine/SCons/Sig/__init__.py b/src/engine/SCons/Sig/__init__.py
index 386c9e5..40ee459 100644
--- a/src/engine/SCons/Sig/__init__.py
+++ b/src/engine/SCons/Sig/__init__.py
@@ -82,13 +82,13 @@ class SConsignEntry:
return '%s %s %s %s' % (timestamp, bsig, csig, implicit)
def get_implicit(self):
- if self.implicit is None:
+ if not self.implicit:
return None
else:
return string.split(self.implicit, '\0')
def set_implicit(self, implicit):
- if implicit is None:
+ if not implicit:
self.implicit = None
else:
self.implicit = string.join(map(str, implicit), '\0')