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