Skip to content

Commit 29a2ad3

Browse files
weizhouapachedhslove
authored andcommitted
VR: fix wrong check when compare two configuration files (apache#9822)
1 parent 0ac967d commit 29a2ad3

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
@@ -174,6 +174,6 @@ def deleteLine(self, search):
174174
self.new_config = list(temp_config)
175175

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

0 commit comments

Comments
 (0)