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 | ec0bcde54157490d9da10a3d0f3d58ccfaf86f22 (patch) | |
| tree | 6483b18f10e11a46357d385fae5d023c25ce58b8 /src/engine/SCons/Node/Python.py | |
| parent | 01989b813c4d05c6a59212f8237287877d415798 (diff) | |
| download | SCons-ec0bcde54157490d9da10a3d0f3d58ccfaf86f22.zip SCons-ec0bcde54157490d9da10a3d0f3d58ccfaf86f22.tar.gz SCons-ec0bcde54157490d9da10a3d0f3d58ccfaf86f22.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 |
