(self, fitID, position1, position2)
| 10 | class GuiSwapLocalModulesCommand(wx.Command): |
| 11 | |
| 12 | def __init__(self, fitID, position1, position2): |
| 13 | wx.Command.__init__(self, True, 'Swap Local Modules') |
| 14 | self.internalHistory = InternalCommandHistory() |
| 15 | self.fitID = fitID |
| 16 | self.position1 = position1 |
| 17 | self.position2 = position2 |
| 18 | |
| 19 | def Do(self): |
| 20 | if self.position1 == self.position2: |
nothing calls this directly
no test coverage detected