From 6b2c93947170e8da3e449a4529b8296b0436f50c Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Fri, 14 May 2010 06:02:33 +0000 Subject: Convert old-style classes in Memoize.py to new-style classes. --- src/engine/SCons/Memoize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/SCons/Memoize.py b/src/engine/SCons/Memoize.py index 98e3809..e77aacf 100644 --- a/src/engine/SCons/Memoize.py +++ b/src/engine/SCons/Memoize.py @@ -126,7 +126,7 @@ use_memoizer = None CounterList = [] -class Counter: +class Counter(object): """ Base class for counting memoization hits and misses. @@ -206,7 +206,7 @@ class CountDict(Counter): self.miss = self.miss + 1 return self.underlying_method(*args, **kw) -class Memoizer: +class Memoizer(object): """Object which performs caching of method calls for its 'primary' instance.""" -- cgit v0.12