From c4bf41bfd0a491c9d9d6833631999b0ee10d4b76 Mon Sep 17 00:00:00 2001 From: hangliu1 Date: Sun, 6 Mar 2022 08:01:59 -0500 Subject: [PATCH] config tool: fixup load_order bug fixup load_order bug Tracked-On:#6690 Signed-off-by: hangliu1 --- misc/config_tools/static_allocators/lib/lib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/config_tools/static_allocators/lib/lib.py b/misc/config_tools/static_allocators/lib/lib.py index acb7a8cfd..7971987d8 100644 --- a/misc/config_tools/static_allocators/lib/lib.py +++ b/misc/config_tools/static_allocators/lib/lib.py @@ -119,16 +119,16 @@ def get_ivshmem_enabled_by_tree(etree): return shmem_enabled def is_pre_launched_vm(vm_type): - if vm_type is 'PRE_LAUNCHED_VM': + if vm_type == 'PRE_LAUNCHED_VM': return True return False def is_post_launched_vm(vm_type): - if vm_type is 'POST_LAUNCHED_VM': + if vm_type == 'POST_LAUNCHED_VM': return True return False def is_service_vm(vm_type): - if vm_type is 'SERVICE_VM': + if vm_type == 'SERVICE_VM': return True return False