From fc6fa1ea0a3c1369acbf9078d2cd588de5f9172f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 23 Jul 2013 13:40:43 +0200 Subject: [PATCH] =?utf8?q?Strip=20pour=20=C3=A9viter=20que=20le=20firstChi?= =?utf8?q?ld=20soit=20un=20n=C5=93ud=20text.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1