X-Git-Url: https://scm.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/a9e61f8d7e3ef299e47f6e2cefc7ced4b252c94b..667f7af1aa8ad5a69af7d5d93c35e495db295ddb:/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