Commit 36beccc1 authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup fixup.

Follow accessor name change.
parent 346b04af
......@@ -51,12 +51,13 @@
<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.getRoleBaseCategoryScriptId(), x.getRoleBaseCategoryList())):\n
for ri in sorted(ti.contentValues(portal_type=\'Role Information\'), key=lambda x:(x.getTitle(), x.getLocalRoleGroupId(), 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.getLocalRoleGroupId(),\n
"Base Categories: %r" % ri.getRoleBaseCategoryList(),\n
"Base Category Script: %s" % ri.getRoleBaseCategoryScriptId(),\n
"Categories: %r" % ri.getRoleCategoryList() )])\n
......
148
\ No newline at end of file
149
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment