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

Method getText

gui/builtinViewColumns/sideEffects.py:40–45  ·  view source on GitHub ↗
(self, stuff)

Source from the content-addressed store, hash-verified

38 self.mask = wx.LIST_MASK_TEXT
39
40 def getText(self, stuff):
41 if isinstance(stuff, Booster):
42 active = [x.name for x in stuff.sideEffects if x.active]
43 if len(active) == 0:
44 return "None"
45 return ", ".join(active)
46
47
48SideEffects.register()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected