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

Method droneKey

gui/builtinAdditionPanes/droneView.py:201–207  ·  view source on GitHub ↗
(drone)

Source from the content-addressed store, hash-verified

199
200 @staticmethod
201 def droneKey(drone):
202 if drone.isMutated:
203 item = drone.baseItem
204 else:
205 item = drone.item
206 groupName = Market.getInstance().getMarketGroupByItem(item).marketGroupName
207 return (DRONE_ORDER.index(groupName), drone.isMutated, drone.fullName)
208
209 def fitChanged(self, event):
210 event.Skip()

Callers

nothing calls this directly

Calls 2

getMarketGroupByItemMethod · 0.80
getInstanceMethod · 0.45

Tested by

no test coverage detected