From 1e5226e21c9007484982fe076c13087bea714c5f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 13 Feb 2012 08:51:40 +0100 Subject: [PATCH] fix indention errors due to vim c&p Signed-off-by: Nico Schottelius --- lib/cdist/core/cdist_object.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) """