Loading ccnode/tags.py +7 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ class Tag(object): prev_value = self.value self.calculate_value() if self.db is None: # when we calculate the tag, the latter could raise an exception and # could provoke a deconnection to the libvirt for example, that will # also provoke a deregister of some tags which might include the # current (in case this happens, just return) return if prev_value == self.value: return elif prev_value is None: Loading Loading
ccnode/tags.py +7 −0 Original line number Diff line number Diff line Loading @@ -67,6 +67,13 @@ class Tag(object): prev_value = self.value self.calculate_value() if self.db is None: # when we calculate the tag, the latter could raise an exception and # could provoke a deconnection to the libvirt for example, that will # also provoke a deregister of some tags which might include the # current (in case this happens, just return) return if prev_value == self.value: return elif prev_value is None: Loading