Commit 69c6893
authored
fix: Remove now failing and useless
This stupid assert now makes do_clear() fail with viur-core 3.8, as
viur-core 3.8 implements `__bool__` on SkeletonInstance, which returns
False in this case.
Anyway, the entire assert makes no sense, as self.import_skel() by its
typing definition always returns a SkeletonInstance. In all other cases
where self.import_skel() is used, there isn't such a useless, stupid and
now breaking assert.assert (#56)1 parent 8cfa9ba commit 69c6893
2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
708 | 708 | | |
709 | 709 | | |
710 | 710 | | |
711 | | - | |
712 | 711 | | |
713 | 712 | | |
714 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
0 commit comments