fix indention errors due to vim c&p
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
parent
921b0c0dff
commit
1e5226e21c
1 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ class CdistObject(object):
|
||||||
|
|
||||||
return self.__class__(cdist_type, base_path, object_id=object_id)
|
return self.__class__(cdist_type, base_path, object_id=object_id)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<CdistObject %s>' % self.name
|
return '<CdistObject %s>' % self.name
|
||||||
|
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
|
@ -161,7 +161,7 @@ class CdistObject(object):
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
return isinstance(other, self.__class__) and self.name < other.name
|
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)
|
Remove leading and trailing slash (one only)
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue