File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class CacheDebugPanel(DebugPanel):
77
77
has_content = True
78
78
79
79
def __init__ (self , * args , ** kwargs ):
80
- super (self . __class__ , self ).__init__ (* args , ** kwargs )
80
+ super (CacheDebugPanel , self ).__init__ (* args , ** kwargs )
81
81
# This is hackish but to prevent threading issues is somewhat needed
82
82
if isinstance (cache .cache , CacheStatTracker ):
83
83
cache .cache .reset ()
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ class SQLDebugPanel(DebugPanel):
219
219
has_content = True
220
220
221
221
def __init__ (self , * args , ** kwargs ):
222
- super (self . __class__ , self ).__init__ (* args , ** kwargs )
222
+ super (SQLDebugPanel , self ).__init__ (* args , ** kwargs )
223
223
self ._offset = dict ((conn , len (connections [conn ].queries )) for conn in connections )
224
224
self ._sql_time = 0
225
225
self ._queries = []
You can’t perform that action at this time.
0 commit comments