diff options
| author | David Cramer | 2011-06-15 19:37:20 -0700 | 
|---|---|---|
| committer | David Cramer | 2011-06-15 19:37:20 -0700 | 
| commit | 32e633bcb9f7b6a65857198e2e45f4c71e2e21f7 (patch) | |
| tree | 4d402ba77f0656e0d84827e4edcb3ca4ab56fda6 /debug_toolbar/panels/cache.py | |
| parent | eeca7d8952b665845e44696552093280ede8b03f (diff) | |
| parent | 75baac10c7f5eba4252c5fda116c318c435b4bae (diff) | |
| download | django-debug-toolbar-develop.tar.bz2 | |
Merge pull request #178 from bkonkle/patch-1develop
Problem subclassing SQLDebugPanel
Diffstat (limited to 'debug_toolbar/panels/cache.py')
| -rw-r--r-- | debug_toolbar/panels/cache.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/debug_toolbar/panels/cache.py b/debug_toolbar/panels/cache.py index 5617ec2..0562bef 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() | 
