diff options
author | Steven Knight <knight@baldmt.com> | 2002-05-15 21:26:08 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-05-15 21:26:08 (GMT) |
commit | c4d35e362f544b427d400f4fb1f95da2236976ef (patch) | |
tree | 0097695ec792aa5410cda02d3fd8ef4d4a20d2d0 /src/engine/SCons/Sig | |
parent | f90f72f7e364490fa345681b863cbec55555fa40 (diff) | |
download | SCons-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/Sig')
-rw-r--r-- | src/engine/SCons/Sig/__init__.py | 4 |
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') |