From 82fe6f9caab78942531a2730dfb3d5ad813a4caa Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 6 Sep 2006 08:04:38 +0000
Subject: [PATCH] fixed indentation of 2 lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9679 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ERP5Type.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py
index 26a52a4e2c..f9adfbccb6 100644
--- a/product/ERP5Type/ERP5Type.py
+++ b/product/ERP5Type/ERP5Type.py
@@ -443,13 +443,13 @@ class ERP5TypeInformation( FactoryTypeInformation,
           for role in role_text.split(';'):
             role = role.strip()
             role_category_list = role_category_list_dict.setdefault(role, [])
+            category_value_dict = {'category_order':category_order_list}
             for category_dict in category_result:
-              category_value_dict = {'category_order':category_order_list}
               category_value_dict.update(category_dict)
               for c in definition['category']:
                 bc, value = c.split('/', 1)
                 category_value_dict[bc] = value
-              role_category_list.append(category_value_dict)
+            role_category_list.append(category_value_dict)
 
       # Generate security group ids from category_value_dicts
       role_group_id_dict = {}
-- 
2.30.9