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

Method append

eos/effectHandlerHelpers.py:321–327  ·  view source on GitHub ↗
(self, character)

Source from the content-addressed store, hash-verified

319class HandledSsoCharacterList(list):
320
321 def append(self, character):
322 old = next((x for x in self if x.client == character.client), None)
323 if old is not None:
324 pyfalog.warning("Removing SSO Character with same hash: {}".format(repr(old)))
325 list.remove(self, old)
326
327 list.append(self, character)
328
329
330class HandledProjectedModList(HandledList):

Callers

nothing calls this directly

Calls 2

removeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected