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

Function _addFormattedColumn

service/port/shipstats.py:82–87  ·  view source on GitHub ↗
(value, name, header, linesList, repStr)

Source from the content-addressed store, hash-verified

80
81
82def _addFormattedColumn(value, name, header, linesList, repStr):
83 if value:
84 header += "{:>7} ".format(name)
85 linesList = [line + "{:>7} ".format(rep) for line, rep in zip(linesList, repStr)]
86
87 return header, linesList
88
89def repsSection(fit):
90 """ Returns the text of the repairs section"""

Callers 1

repsSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected