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

Method __init__

gui/fitCommands/calc/module/localAdd.py:14–20  ·  view source on GitHub ↗
(self, fitID, newModInfo)

Source from the content-addressed store, hash-verified

12class CalcAddLocalModuleCommand(wx.Command):
13
14 def __init__(self, fitID, newModInfo):
15 wx.Command.__init__(self, True, 'Add Module')
16 self.fitID = fitID
17 self.newModInfo = newModInfo
18 self.savedPosition = None
19 self.subsystemCmd = None
20 self.savedStateCheckChanges = None
21
22 def Do(self):
23 pyfalog.debug('Doing addition of local module {} to fit {}'.format(self.newModInfo, self.fitID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected