MCPcopy Create free account
hub / github.com/apache/cloudstack / is_changed

Method is_changed

systemvm/debian/opt/cloud/bin/cs/CsFile.py:42–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 self.config = list(self.new_config)
41
42 def is_changed(self):
43 if set(self.config) != set(self.new_config):
44 return True
45 else:
46 return False
47
48 def __len__(self):
49 return len(self.config)

Callers 5

configure_ipsecMethod · 0.95
setupMethod · 0.95
_redundant_onMethod · 0.95
write_hostsMethod · 0.95
commitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected