MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / error

Method error

BaseTools/Scripts/PatchCheck.py:402–412  ·  view source on GitHub ↗
(self, *err)

Source from the content-addressed store, hash-verified

400 self.error(err, err2)
401
402 def error(self, *err):
403 if self.ok and Verbose.level > Verbose.ONELINE:
404 print('Code format is not valid:')
405 self.ok = False
406 if Verbose.level < Verbose.NORMAL:
407 return
408 count = 0
409 for line in err:
410 prefix = (' *', ' ')[count > 0]
411 print(prefix, line)
412 count += 1
413
414class CheckOnePatch:
415 """Checks the contents of a git email formatted patch.

Callers 15

added_line_errorMethod · 0.95
format_errorMethod · 0.95
mainFunction · 0.45
__init__Method · 0.45
_GenOffsetValueMethod · 0.45
_PackBooleanValueMethod · 0.45
_PackIntValueMethod · 0.45
_PackPtrValueMethod · 0.45
_PackStringMethod · 0.45
_PackByteArrayMethod · 0.45
_PackUnicodeMethod · 0.45
__init__Method · 0.45

Calls 1

printFunction · 0.85

Tested by

no test coverage detected