summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-05-15 21:26:08 (GMT)
committerSteven Knight <knight@baldmt.com>2002-05-15 21:26:08 (GMT)
commitc4d35e362f544b427d400f4fb1f95da2236976ef (patch)
tree0097695ec792aa5410cda02d3fd8ef4d4a20d2d0 /src/engine/SCons
parentf90f72f7e364490fa345681b863cbec55555fa40 (diff)
downloadSCons-c4d35e362f544b427d400f4fb1f95da2236976ef.zip
SCons-c4d35e362f544b427d400f4fb1f95da2236976ef.tar.gz
SCons-c4d35e362f544b427d400f4fb1f95da2236976ef.tar.bz2
Fix a --implicit-cache when a file has no implicit deps and its source is generated. (Anthony Roach)
Diffstat (limited to 'src/engine/SCons')
-rw-r--r--src/engine/SCons/Sig/__init__.py4
1 files changed, 2 insertions, 2 deletions
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')