Commit 6825834b authored by Mayoro Diagne's avatar Mayoro Diagne

removing tabulation in DocumentationHelper.py

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22317 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f8bdb7e7
...@@ -147,7 +147,7 @@ class DocumentationHelper(Implicit): ...@@ -147,7 +147,7 @@ class DocumentationHelper(Implicit):
url, method = self.uri.split('#') url, method = self.uri.split('#')
documented_object = self.getPortalObject().unrestrictedTraverse(url, None) documented_object = self.getPortalObject().unrestrictedTraverse(url, None)
if '/' not in method: if '/' not in method:
if documented_object is not None: if documented_object is not None:
if documented_object.getId() in self.getPortalObject().portal_types.objectIds(): if documented_object.getId() in self.getPortalObject().portal_types.objectIds():
temp_object = self.getTempInstance(documented_object.getId()) temp_object = self.getTempInstance(documented_object.getId())
documented_object = getattr(temp_object, method, None) documented_object = getattr(temp_object, method, None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment