]> git.proxmox.com Git - mirror_edk2.git/blobdiff - .pytool/Plugin/CharEncodingCheck/CharEncodingCheck.py
.pytool: Add CI support for host based unit tests with results
[mirror_edk2.git] / .pytool / Plugin / CharEncodingCheck / CharEncodingCheck.py
index 02f25ab19fd747b1429db7d0a63e6f36caa143b8..1496e1f24934187cedd080caddbb4883857c9a37 100644 (file)
@@ -100,7 +100,7 @@ class CharEncodingCheck(ICiBuildPlugin):
                     overall_status += 1\r
 \r
         tc.LogStdOut("Tested Encoding on {0} files".format(files_tested))\r
-        if overall_status is not 0:\r
+        if overall_status != 0:\r
             tc.SetFailed("CharEncoding {0} Failed.  Errors {1}".format(packagename, overall_status), "CHAR_ENCODING_CHECK_FAILED")\r
         else:\r
             tc.SetSuccess()\r