From: stevenknight Date: Thu, 19 Feb 2009 05:50:06 +0000 (+0000) Subject: Return the intern() string on the first call to Node.FS.Base._save_str(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b5a78e96a64a1d1ac754c99640d008413e862915;p=scons.git Return the intern() string on the first call to Node.FS.Base._save_str(). git-svn-id: http://scons.tigris.org/svn/scons/trunk@4008 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Node/FS.py b/src/engine/SCons/Node/FS.py index fa0a9ed2..62d39dd9 100644 --- a/src/engine/SCons/Node/FS.py +++ b/src/engine/SCons/Node/FS.py @@ -613,8 +613,8 @@ class Base(SCons.Node.Node): return self._memo['_save_str'] except KeyError: pass - result = self._get_str() - self._memo['_save_str'] = intern(result) + result = intern(self._get_str()) + self._memo['_save_str'] = result return result def _get_str(self):