- Notifications
You must be signed in to change notification settings - Fork673
Commit8933113
committed
chore: make ListMixin._list_filters always present
Always create ListMixin._list_filters attribute with a default valueof tuple().This way we don't need to use hasattr() and we will know the type ofthe attribute.1 parentcfc42d2 commit8933113
2 files changed
+6
-7
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
| 25 | + | |
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| |||
186 | 187 |
| |
187 | 188 |
| |
188 | 189 |
| |
| 190 | + | |
189 | 191 |
| |
190 | 192 |
| |
191 | 193 |
| |
|
Lines changed: 4 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
145 | 145 |
| |
146 | 146 |
| |
147 | 147 |
| |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
155 | 152 |
| |
156 | 153 |
| |
157 | 154 |
| |
|
0 commit comments
Comments
(0)