Revision 19830e88 lib/objects.py

b/lib/objects.py
266 266
    """Implement __repr__ for ConfigObjects."""
267 267
    return repr(self.ToDict())
268 268

  
269
  def __eq__(self, other):
270
    """Implement __eq__ for ConfigObjects."""
271
    return isinstance(other, self.__class__) and self.ToDict() == other.ToDict()
272

  
269 273
  def UpgradeConfig(self):
270 274
    """Fill defaults for missing configuration values.
271 275

  

Also available in: Unified diff