[Zope3-checkins] CVS: Products3/xmldom - core.py:1.2

Steve Alexander steve@cat-box.net
Sat, 7 Jun 2003 13:31:40 -0400


Update of /cvs-repository/Products3/xmldom
In directory cvs.zope.org:/tmp/cvs-serv915

Modified Files:
	core.py 
Log Message:
Made DOMProperty into a ContextDescriptor by deriving it from
ContextProperty.


=== Products3/xmldom/core.py 1.1 => 1.2 ===
--- Products3/xmldom/core.py:1.1	Sat Jun  7 06:13:50 2003
+++ Products3/xmldom/core.py	Sat Jun  7 13:31:40 2003
@@ -17,7 +17,7 @@
 import string
 import xml.dom
 
-from zope.context import ContextAware, getWrapperContext,\
+from zope.context import ContextAware, ContextProperty, getWrapperContext,\
      getWrapperContainer, getbaseobject, ContainmentIterator
 from zope.context.wrapper import setcontext
 from zope.app.context import ContextWrapper
@@ -108,7 +108,7 @@
     #("load", "3.0"),
     )
 
-class DOMProperty(property):
+class DOMProperty(ContextProperty):
 
     _readonly = 0