Commit 4f0f1ed8 authored by Michel Pelletier's avatar Michel Pelletier

missing some stuff for the find support

parent 35de9c78
...@@ -560,5 +560,9 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -560,5 +560,9 @@ class ZCatalog(Folder, Persistent, Implicit):
Globals.default__class_init__(ZCatalog) Globals.default__class_init__(ZCatalog)
def p_name(name):
return '_' + string.translate(name, name_trans) + '_Permission'
def absattr(attr):
if callable(attr): return attr()
return attr
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