Skip to content

Commit 896b8bf

Browse files
VR: fix wrong check when compare two configuration files (apache#9822)
1 parent 371e244 commit 896b8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemvm/debian/opt/cloud/bin/cs/CsFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,6 @@ def deleteLine(self, search):
175175
self.new_config = list(temp_config)
176176

177177
def compare(self, o):
178-
result = (isinstance(o, self.__class__) and set(self.config) == set(o.config))
178+
result = (isinstance(o, self.__class__) and self.config == o.config)
179179
logging.debug("Comparison of CsFiles content is ==> %s" % result)
180180
return result

0 commit comments

Comments
 (0)