From: Benoît Pin Date: Tue, 23 Jul 2013 09:25:20 +0000 (+0200) Subject: Du xml valide, c'est mieux :-D X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/a9e61f8d7e3ef299e47f6e2cefc7ced4b252c94b?ds=inline;hp=2707b39eef0714a12912f38eac62633aeb691f6f Du xml valide, c'est mieux :-D --- diff --git a/Folder.py b/Folder.py index 9853b7b..9051b3c 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 '' % meth() # ## overload to maintain ownership if authenticated user has 'Manage portal' permission