diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-28 18:23:34 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-28 18:23:34 +0200 |
commit | 72c39ad485d174c2e8e1fef34b8e9e392a94458a (patch) | |
tree | c61b2af2b3861f6bffb4955e0733687c337cb35a /engine/SCons/PathList.py | |
parent | daa63b77a7e2963e59a238e0dca7ceffce91ee99 (diff) |
Imported Upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'engine/SCons/PathList.py')
-rw-r--r-- | engine/SCons/PathList.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/engine/SCons/PathList.py b/engine/SCons/PathList.py index a69a64c..b359144 100644 --- a/engine/SCons/PathList.py +++ b/engine/SCons/PathList.py @@ -21,7 +21,7 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # -__revision__ = "src/engine/SCons/PathList.py rel_2.3.5:3347:d31d5a4e74b6 2015/07/31 14:36:10 bdbaddog" +__revision__ = "src/engine/SCons/PathList.py rel_2.4.0:3365:9259ea1c13d7 2015/09/21 14:03:43 bdbaddog" __doc__ = """SCons.PathList @@ -171,11 +171,6 @@ class PathListCache(object): cheaply avoid re-parsing both values of CPPPATH by using the common value from this cache. """ - if SCons.Memoize.use_memoizer: - __metaclass__ = SCons.Memoize.Memoized_Metaclass - - memoizer_counters = [] - def __init__(self): self._memo = {} @@ -196,8 +191,7 @@ class PathListCache(object): pathlist = tuple(SCons.Util.flatten(pathlist)) return pathlist - memoizer_counters.append(SCons.Memoize.CountDict('PathList', _PathList_key)) - + @SCons.Memoize.CountDictCall(_PathList_key) def PathList(self, pathlist): """ Returns the cached _PathList object for the specified pathlist, |