[CMF-checkins] CVS: CMF - MetadataTool.py:1.5
tseaver@digicool.com
tseaver@digicool.com
Mon, 21 May 2001 01:05:49 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault
In directory korak.digicool.com:/tmp/cvs-serv1176
Modified Files:
MetadataTool.py
Log Message:
- Tracker issue #247: Policy updates being lost across restarts.
Thanks to Marc Lindahl for tracking this down!
--- Updated File MetadataTool.py in package CMF --
--- MetadataTool.py 2001/05/11 03:41:43 1.4
+++ MetadataTool.py 2001/05/21 05:05:48 1.5
@@ -93,11 +93,12 @@
from Globals import InitializeClass, DTMLFile
+from Persistence import Persistent
from AccessControl import ClassSecurityInfo, getSecurityManager
from Products.CMFCore import CMFCorePermissions
from utils import _dtmldir
-class MetadataElementPolicy:
+class MetadataElementPolicy( Persistent ):
"""
Represent a type-specific policy about a particular DCMI element.
"""
@@ -175,7 +176,7 @@
, ( 'Rights', 0 )
)
-class ElementSpec:
+class ElementSpec( Persistent ):
"""
Represent all the tool knows about a single metadata element.
"""