VR: fix wrong check when compare two configuration files (#9822)

This commit is contained in:
Wei Zhou 2024-11-07 10:18:02 +01:00 committed by GitHub
parent 371e244375
commit 896b8bfabf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,6 +175,6 @@ class CsFile:
self.new_config = list(temp_config)
def compare(self, o):
result = (isinstance(o, self.__class__) and set(self.config) == set(o.config))
result = (isinstance(o, self.__class__) and self.config == o.config)
logging.debug("Comparison of CsFiles content is ==> %s" % result)
return result