diff options
Diffstat (limited to '.pytool')
-rw-r--r-- | .pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py b/.pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py index b09fb17..07d9e9c 100644 --- a/.pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py +++ b/.pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py @@ -93,9 +93,7 @@ class CharEncodingCheck(ICiBuildPlugin): files = [Edk2pathObj.GetAbsolutePathOnThisSystemFromEdk2RelativePath(x) for x in files]
for a in files:
files_tested += 1
- if(self.TestEncodingOk(a, enc)):
- logging.debug("File {0} Passed Encoding Check {1}".format(a, enc))
- else:
+ if not self.TestEncodingOk(a, enc):
tc.LogStdError("Encoding Failure in {0}. Not {1}".format(a, enc))
overall_status += 1
|