X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/2707b39eef0714a12912f38eac62633aeb691f6f..3ddc4b58178f6faae14b1afa3548e2b5fc8b8281:/Folder.py?ds=sidebyside diff --git a/Folder.py b/Folder.py index 9853b7b..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