(self, filename, lines)
| 122 | |
| 123 | class StandardHeader: |
| 124 | def fix(self, filename, lines): |
| 125 | newLines = [] |
| 126 | |
| 127 | for line in generateLicenseSection(filename): |
| 128 | newLines.append(line) |
| 129 | |
| 130 | bodyLines = extractBodyLines(lines) |
| 131 | |
| 132 | if len(bodyLines) > 0 and bodyLines[0] != "": |
| 133 | newLines.append("") |
| 134 | newLines += bodyLines |
| 135 | |
| 136 | return newLines |
| 137 | |
| 138 | |
| 139 | def findHeadersAndFiles(): |
nothing calls this directly
no test coverage detected