[Zope-CVS] CVS: Products/CompositePage - composite.py:1.19
    Shane Hathaway 
    shane at zope.com
       
    Thu Mar 25 15:42:22 EST 2004
    
    
  
Update of /cvs-repository/Products/CompositePage
In directory cvs.zope.org:/tmp/cvs-serv30312
Modified Files:
	composite.py 
Log Message:
Generate slots for non-WYSIWYG mode
=== Products/CompositePage/composite.py 1.18 => 1.19 ===
--- Products/CompositePage/composite.py:1.18	Thu Mar 25 15:33:49 2004
+++ Products/CompositePage/composite.py	Thu Mar 25 15:42:22 2004
@@ -194,10 +194,12 @@
 
         Returns [{'name', 'class_name', 'title'}].  May return duplicates.
         """
+        self._v_editing = 1
         self._v_slot_specs = []
         try:
             self()
         finally:
+            self._v_editing = 0
             slots = self._v_slot_specs
             self._v_slot_specs = None
             return slots
    
    
More information about the Zope-CVS
mailing list