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

Method __init__

gui/fitCommands/calc/drone/localAdd.py:14–21  ·  view source on GitHub ↗
(self, fitID, droneInfo, forceNewStack=False, ignoreRestrictions=False)

Source from the content-addressed store, hash-verified

12class CalcAddLocalDroneCommand(wx.Command):
13
14 def __init__(self, fitID, droneInfo, forceNewStack=False, ignoreRestrictions=False):
15 wx.Command.__init__(self, True, 'Add Local Drone')
16 self.fitID = fitID
17 self.droneInfo = droneInfo
18 self.forceNewStack = forceNewStack
19 self.ignoreRestrictions = ignoreRestrictions
20 self.savedDroneInfo = None
21 self.savedPosition = None
22
23 def Do(self):
24 pyfalog.debug('Doing addition of local drone {} to fit {}'.format(self.droneInfo, self.fitID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected