]> git.proxmox.com Git - mirror_edk2.git/blobdiff - .pytool/Plugin/DscCompleteCheck/DscCompleteCheck.py
.pytool: Avoid "is" with a literal Python 3.8 warnings in CI plugins
[mirror_edk2.git] / .pytool / Plugin / DscCompleteCheck / DscCompleteCheck.py
index e2485f570841b485bbfd02e4dbe6b92d4599e6ac..9af4f72c8de3a2a0dff462cfdca822be8cab6772 100644 (file)
@@ -61,7 +61,7 @@ class DscCompleteCheck(ICiBuildPlugin):
         abs_dsc_path = os.path.join(abs_pkg_path, pkgconfig["DscPath"].strip())\r
         wsr_dsc_path = Edk2pathObj.GetEdk2RelativePathFromAbsolutePath(abs_dsc_path)\r
 \r
-        if abs_dsc_path is None or wsr_dsc_path is "" or not os.path.isfile(abs_dsc_path):\r
+        if abs_dsc_path is None or wsr_dsc_path == "" or not os.path.isfile(abs_dsc_path):\r
             tc.SetSkipped()\r
             tc.LogStdError("Package Dsc not found")\r
             return 0\r