Commit 51cb6bd
committed
Simplify error handling in data validation
Remove unnecessary try-except block that was catching TypeError during iteration.
The validation logic doesn't need exception handling since we're only checking
types of items in a list/tuple that we've already confirmed exists.1 parent a936c47 commit 51cb6bd
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
219 | 215 | | |
220 | 216 | | |
221 | 217 | | |
| |||
0 commit comments