Commit da14fdd
committed
Register LinkamBase as a FloatingDeviceMixin instead of LinkamCMS
FloatingDeviceMixin is an ABC that requires get_id. This is
implemented in LinkamBase and not on LinkamCMS.
Also, mixins need to appear before base classes to have the MRO
done in the right order. LinkamCMS had the FloatingDeviceMixin
last on the MRO to work around this (list FloatingDeviceMixin
before LinkamBase would have get_id call the empty implementation
on the mixin only). This change also gets a correct MRO.1 parent 6f74063 commit da14fdd
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
903 | | - | |
| 903 | + | |
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
| 1263 | + | |
1264 | 1264 | | |
1265 | 1265 | | |
1266 | 1266 | | |
| |||
0 commit comments