From b5a78e96a64a1d1ac754c99640d008413e862915 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Thu, 19 Feb 2009 05:50:06 +0000 Subject: [PATCH] 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 --- src/engine/SCons/Node/FS.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2