Commit eb8b274
committed
Look at the correct collection of Exchange classes
In `nbgrader.apps.baseapp.NbGrader.all_configurable_classes`, there was
a subtle problem in the way it was deciding whether to include classes
from `exchange.default` which meant that none were ever included.
The same work to do this check was being done 5 different times in
unique blocks of code, one of which being incorrectly implemented. To
avoid this type of mistake in the future, I added an inline function to
do that check so it's done in a uniform way every time.1 parent 7bbe818 commit eb8b274
2 files changed
+15
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 161 | + | |
157 | 162 | | |
158 | 163 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 164 | + | |
163 | 165 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 166 | + | |
| 167 | + | |
169 | 168 | | |
170 | 169 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 170 | + | |
175 | 171 | | |
176 | 172 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 173 | + | |
181 | 174 | | |
182 | 175 | | |
183 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments