MCPcopy
hub / github.com/pyload/pyload / appendName

Function appendName

module/debug.py:28–35  ·  view source on GitHub ↗
(lines, name)

Source from the content-addressed store, hash-verified

26 return True
27
28def appendName(lines, name):
29 test = re.compile("^[a-zA-z0-9]+ = ")
30
31 for i, line in enumerate(lines):
32 if test.match(line):
33 lines[i] = name+"."+line
34
35 return lines
36
37def initReport():
38 reports = []

Callers 1

initReportFunction · 0.85

Calls 2

compileMethod · 0.80
matchMethod · 0.45

Tested by

no test coverage detected