From d034c9489dfae0d432361d33ab7e5eb59cf26fbb Mon Sep 17 00:00:00 2001 From: bkonkle Date: Thu, 15 Sep 2011 10:41:09 -0500 Subject: Remove any remaining uses of self.__class__ with super --- debug_toolbar/panels/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug_toolbar/panels/cache.py') diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py index c9dae6d..620be86 100644 --- a/debug_toolbar/panels/cache.py +++ b/debug_toolbar/panels/cache.py @@ -77,7 +77,7 @@ class CacheDebugPanel(DebugPanel): has_content = True def __init__(self, *args, **kwargs): - super(self.__class__, self).__init__(*args, **kwargs) + super(CacheDebugPanel, self).__init__(*args, **kwargs) # This is hackish but to prevent threading issues is somewhat needed if isinstance(cache.cache, CacheStatTracker): cache.cache.reset() -- cgit v1.2.3