diff --git a/lib/cdist/core/cdist_object.py b/lib/cdist/core/cdist_object.py index b6bf0903..f425ca60 100644 --- a/lib/cdist/core/cdist_object.py +++ b/lib/cdist/core/cdist_object.py @@ -148,7 +148,7 @@ class CdistObject(object): return self.__class__(cdist_type, base_path, object_id=object_id) - def __repr__(self): + def __repr__(self): return '' % self.name def __eq__(self, other): @@ -161,7 +161,7 @@ class CdistObject(object): def __lt__(self, other): return isinstance(other, self.__class__) and self.name < other.name - def sanitise_object_id(self): + def sanitise_object_id(self): """ Remove leading and trailing slash (one only) """