MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/fitCommands/calc/module/localSwap.py:12–16  ·  view source on GitHub ↗
(self, fitID, position1, position2)

Source from the content-addressed store, hash-verified

10class CalcSwapLocalModuleCommand(wx.Command):
11
12 def __init__(self, fitID, position1, position2):
13 wx.Command.__init__(self, True, 'Swap Modules')
14 self.fitID = fitID
15 self.position1 = position1
16 self.position2 = position2
17
18 def Do(self):
19 pyfalog.debug('Doing swapping between {} and {} for fit {}'.format(self.position1, self.position2, self.fitID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected