(self, itemSpec)
| 870 | self.getContainerBySlot(m.slot).append(m) |
| 871 | |
| 872 | def addModule(self, itemSpec): |
| 873 | if itemSpec is None: |
| 874 | return |
| 875 | m = self.__makeModule(itemSpec) |
| 876 | if m is not None: |
| 877 | self.getContainerBySlot(m.slot).append(m) |
| 878 | |
| 879 | def __makeModule(self, itemSpec): |
| 880 | # Mutate item if needed |
no test coverage detected