diff options
author | Steven Knight <knight@baldmt.com> | 2004-06-01 04:41:58 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-06-01 04:41:58 (GMT) |
commit | c642fca37d45da3f01c892b1518ce42ef8abbb6e (patch) | |
tree | 6483b18f10e11a46357d385fae5d023c25ce58b8 /src/engine/SCons/Node/Python.py | |
parent | 78b110985d41c80a1803e95f3f9fe7280a0c1cb1 (diff) | |
download | SCons-c642fca37d45da3f01c892b1518ce42ef8abbb6e.zip SCons-c642fca37d45da3f01c892b1518ce42ef8abbb6e.tar.gz SCons-c642fca37d45da3f01c892b1518ce42ef8abbb6e.tar.bz2 |
Remove dead imports and other things found by PyChecker.
Diffstat (limited to 'src/engine/SCons/Node/Python.py')
-rw-r--r-- | src/engine/SCons/Node/Python.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/SCons/Node/Python.py b/src/engine/SCons/Node/Python.py index a2537ae..e15888b 100644 --- a/src/engine/SCons/Node/Python.py +++ b/src/engine/SCons/Node/Python.py @@ -67,12 +67,12 @@ class Value(SCons.Node.Node): timestamp, we get to ignore the calculator and just use the value contents.""" try: - self.binfo + binfo = self.binfo except: - self.binfo = self.new_binfo() + binfo = self.binfo = self.new_binfo() try: - return self.binfo.csig + return binfo.csig except AttributeError: - self.binfo.csig = self.get_contents() - self.store_info(self.binfo) - return self.binfo.csig + binfo.csig = self.get_contents() + self.store_info(binfo) + return binfo.csig |