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

Method __init__

gui/fitCommands/calc/fighter/localAdd.py:12–17  ·  view source on GitHub ↗
(self, fitID, fighterInfo, position=None, ignoreRestrictions=False)

Source from the content-addressed store, hash-verified

10class CalcAddLocalFighterCommand(wx.Command):
11
12 def __init__(self, fitID, fighterInfo, position=None, ignoreRestrictions=False):
13 wx.Command.__init__(self, True, 'Add Fighter')
14 self.fitID = fitID
15 self.fighterInfo = fighterInfo
16 self.position = position
17 self.ignoreRestrictions = ignoreRestrictions
18
19 def Do(self):
20 pyfalog.debug('Doing addition of fighter {} to fit {}'.format(self.fighterInfo, self.fitID))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected