Commit 259988e2 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Convert lists to tuples before calculating hash to have compatibility

parent b09b59b4
......@@ -2072,6 +2072,10 @@ class TemplateTool (BaseTool):
"""
if isProperty:
obj_dict = object
# Have compatibilty between tuples and list while comparing as we face
# this situation a lot especially for list type properties
if isinstance(obj_dict, list):
obj_dict = tuple(obj_dict)
else:
klass = object.__class__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment