[Zope3-checkins] 
	SVN: Zope3/trunk/src/zope/app/viewlet/metaconfigure.py
	Make sure the weight is added tot he class.
    Stephan Richter 
    srichter at cosmos.phy.tufts.edu
       
    Mon Sep 19 14:09:05 EDT 2005
    
    
  
Log message for revision 38523:
  Make sure the weight is added tot he class.
  
Changed:
  U   Zope3/trunk/src/zope/app/viewlet/metaconfigure.py
-=-
Modified: Zope3/trunk/src/zope/app/viewlet/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/viewlet/metaconfigure.py	2005-09-19 16:11:21 UTC (rev 38522)
+++ Zope3/trunk/src/zope/app/viewlet/metaconfigure.py	2005-09-19 18:09:04 UTC (rev 38523)
@@ -87,6 +87,7 @@
             else:
                 cdict = {}
 
+            cdict['_weight'] = weight
             cdict['__name__'] = name
             cdict['__page_attribute__'] = attribute
             new_class = type(class_.__name__,
    
    
More information about the Zope3-Checkins
mailing list