[Lldb-commits] [lldb] [lldb] fix(lldb/**.py): fix comparison to True/False (PR #94039)

Eisuke Kawashima via lldb-commits lldb-commits at lists.llvm.org
Sun Jun 9 15:57:12 PDT 2024


================
@@ -39,7 +39,7 @@ def check_simulator_ostype(self, sdk, platform_name, arch=platform.machine()):
             for device in devices:
                 if "availability" in device and device["availability"] != "(available)":
                     continue
-                if "isAvailable" in device and device["isAvailable"] != True:
+                if "isAvailable" in device and device["isAvailable"] is not True:
----------------
e-kwsm wrote:

fixed

https://github.com/llvm/llvm-project/pull/94039


More information about the lldb-commits mailing list