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

Function lineIter

service/port/eft.py:967–972  ·  view source on GitHub ↗

Iterate over non-blank lines.

(text)

Source from the content-addressed store, hash-verified

965
966
967def lineIter(text):
968 """Iterate over non-blank lines."""
969 for line in text.splitlines():
970 line = line.strip()
971 if line:
972 yield line
973
974
975def parseAdditions(text, mutaData=None):

Callers 7

activateMethod · 0.90
parseAdditionsFunction · 0.85
isValidDroneImportFunction · 0.85
isValidFighterImportFunction · 0.85
isValidCargoImportFunction · 0.85
isValidImplantImportFunction · 0.85
isValidBoosterImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected