Skip to content

Commit 44d4150

Browse files
committed
Remove unnceessary class-level variables
1 parent f0b8b50 commit 44d4150

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

template_profiler_panel/panels/template.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,14 @@ class TemplateProfilerPanel(Panel):
6060
'''
6161

6262
template = 'template_profiler_panel/template.html'
63-
colors = None
64-
templates = None
65-
color_generator = None
66-
t_min = 0
67-
t_max = 0
68-
total = 0
6963

7064
def __init__(self, *args, **kwargs):
7165
self.colors = {}
7266
self.templates = []
7367
self.color_generator = contrasting_color_generator()
68+
self.t_min = 0
69+
self.t_max = 0
70+
self.total = 0
7471
super(TemplateProfilerPanel, self).__init__(*args, **kwargs)
7572

7673
@property

0 commit comments

Comments
 (0)