From 346b04afc3d9cc0606b757ab10a06eaf37c0942c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 7 Dec 2012 13:46:15 +0100
Subject: [PATCH] Fixup.

getLocalRolesGroupId does not exists on portal type.
---
 .../erp5_administration/ERP5Site_dumpPortalTypeRoleList.xml    | 3 +--
 bt5/erp5_administration/bt/revision                            | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.xml b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.xml
index 6cfe92f826..109c66a611 100644
--- a/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.xml
+++ b/bt5/erp5_administration/SkinTemplateItem/portal_skins/erp5_administration/ERP5Site_dumpPortalTypeRoleList.xml
@@ -51,13 +51,12 @@
         <item>
             <key> <string>_body</string> </key>
             <value> <string>for ti in sorted(context.getPortalObject().portal_types.contentValues(), key=lambda x:x.getId()):\n
-  for ri in sorted(ti.contentValues(portal_type=\'Role Information\'), key=lambda x:(x.getTitle(), x.getLocalRolesGroupId(), x.getRoleBaseCategoryScriptId(), x.getRoleBaseCategoryList())):\n
+  for ri in sorted(ti.contentValues(portal_type=\'Role Information\'), key=lambda x:(x.getTitle(), x.getRoleBaseCategoryScriptId(), x.getRoleBaseCategoryList())):\n
     print ti.getId()\n
     print " ", "\\n  ".join([x for x in (\n
       "Title: %s" % ri.getTitle(),\n
       "Roles: %r" % ri.getRoleNameList(),\n
       "Condition: %s" % ri.getConditionText(),\n
-      "Local Roles Group Id: %s" % ri.getLocalRolesGroupId(),\n
       "Base Categories: %r" % ri.getRoleBaseCategoryList(),\n
       "Base Category Script: %s" % ri.getRoleBaseCategoryScriptId(),\n
       "Categories: %r" % ri.getRoleCategoryList() )])\n
diff --git a/bt5/erp5_administration/bt/revision b/bt5/erp5_administration/bt/revision
index 5d1277e790..4b9bce4823 100644
--- a/bt5/erp5_administration/bt/revision
+++ b/bt5/erp5_administration/bt/revision
@@ -1 +1 @@
-147
\ No newline at end of file
+148
\ No newline at end of file
-- 
2.30.9