Commit 8a4e6fd
schema: check cdata_parsed before using it
Sometimes, cdata_parsed is None. Check it before using it, as we do in
the other functions using cdata_parsed.
It fixes this error:
AttributeError: 'NoneType' object has no attribute 'range'
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>1 parent 6fd7764 commit 8a4e6fd
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| 518 | + | |
| 519 | + | |
518 | 520 | | |
519 | 521 | | |
520 | 522 | | |
| |||
0 commit comments