MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / addCargo

Method addCargo

service/port/eft.py:959–964  ·  view source on GitHub ↗
(self, itemSpec)

Source from the content-addressed store, hash-verified

957 self.fighters.append(fighter)
958
959 def addCargo(self, itemSpec):
960 if itemSpec is None:
961 return
962 if itemSpec.item not in self.cargo:
963 self.cargo[itemSpec.item] = Cargo(itemSpec.item)
964 self.cargo[itemSpec.item].amount += itemSpec.amount
965
966
967def lineIter(text):

Callers 1

importEftFunction · 0.95

Calls 1

CargoClass · 0.90

Tested by

no test coverage detected