[Erp5-report] r44251 vincent - /erp5/trunk/products/ERP5/Document/BusinessTemplate.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 14 16:54:25 CET 2011


Author: vincent
Date: Mon Mar 14 16:54:24 2011
New Revision: 44251

URL: http://svn.erp5.org?rev=44251&view=rev
Log:
Fix stupid typo.

Modified:
    erp5/trunk/products/ERP5/Document/BusinessTemplate.py

Modified: erp5/trunk/products/ERP5/Document/BusinessTemplate.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/BusinessTemplate.py?rev=44251&r1=44250&r2=44251&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/BusinessTemplate.py [utf8] Mon Mar 14 16:54:24 2011
@@ -4203,7 +4203,7 @@ class LocalRolesTemplateItem(BaseTemplat
       xml_data += '\n  </role>'
     xml_data += '\n </local_roles>'
     xml_data += '\n</local_roles_item>'
-    if isinstance(xml_data, unicode)
+    if isinstance(xml_data, unicode):
       xml_data = xml_data.encode('utf8')
     return xml_data
 



More information about the Erp5-report mailing list