From 346085f0884dfdb0457a5fe7f5d516f6d77c2a82 Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 14 Mar 2011 15:54:24 +0000
Subject: [PATCH] Fix stupid typo.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44251 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/BusinessTemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py
index 01d36afff7..d5f2f319a3 100644
--- a/product/ERP5/Document/BusinessTemplate.py
+++ b/product/ERP5/Document/BusinessTemplate.py
@@ -4203,7 +4203,7 @@ class LocalRolesTemplateItem(BaseTemplateItem):
       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
 
-- 
2.30.9