Commit b45974ae authored by Jim Fulton's avatar Jim Fulton

Added a psuedo "subclassable propertysheet class interface" to prevent

us from inteheriting from propertysheet classes that weren't meant to
be subclassed.  This fixes a problem with creating property sheets for
subclasses of bilt-in classes like Folder.
parent 1d24f7ce
......@@ -386,6 +386,7 @@ def klass_sequence(klass,attr,result=None):
class ZInstanceSheets(OFS.PropertySheets.PropertySheets, Globals.Persistent):
" "
__propset_attrs__=()
_implements_the_notional_subclassable_propertysheet_class_interface=1
def __propsets__(self):
propsets=ZInstanceSheets.inheritedAttribute('__propsets__')(self)
......
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