]> git.proxmox.com Git - mirror_edk2.git/blobdiff - .pytool/Plugin/DependencyCheck/DependencyCheck.py
.pytool: Add CI support for host based unit tests with results
[mirror_edk2.git] / .pytool / Plugin / DependencyCheck / DependencyCheck.py
index 2c3d8baf6984e9849ae6d03203fca3faead56faf..db154d769a3909eeacb4781322a43b65a06ffa46 100644 (file)
@@ -113,7 +113,7 @@ class DependencyCheck(ICiBuildPlugin):
                     overall_status += 1\r
 \r
         # If XML object exists, add results\r
-        if overall_status is not 0:\r
+        if overall_status != 0:\r
             tc.SetFailed("Failed with {0} errors".format(overall_status), "DEPENDENCYCHECK_FAILED")\r
         else:\r
             tc.SetSuccess()\r