X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/a9e61f8d7e3ef299e47f6e2cefc7ced4b252c94b..eac806a4950766d01679df800f20201b4f58cbd2:/Folder.py?ds=sidebyside diff --git a/Folder.py b/Folder.py index 9051b3c..2458bf1 100644 --- a/Folder.py +++ b/Folder.py @@ -349,7 +349,7 @@ class PlinnFolder(CMFCatalogAware, PortalFolder, DefaultDublinCoreImpl) : meth = method_id and getattr(ob, method_id) or (lambda : 'Not implemented') RESPONSE.setStatus(httpRespCode) RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8') - return '' % meth() + return '%s>' % meth().strip() # ## overload to maintain ownership if authenticated user has 'Manage portal' permission