[Zope-Checkins] 
	SVN: Products.Five/branches/philikon-local-components/component/browser.py
	Work around a weirdness in Zope2.App.startup.recordMetaData
	where it expects
    Philipp von Weitershausen 
    philikon at philikon.de
       
    Thu Mar  2 00:03:38 EST 2006
    
    
  
Log message for revision 65711:
  Work around a weirdness in Zope2.App.startup.recordMetaData where it expects
  the object to have a string __name__. I remember this being a problem in Five
  before (only in Zope 2.9).
  
Changed:
  U   Products.Five/branches/philikon-local-components/component/browser.py
-=-
Modified: Products.Five/branches/philikon-local-components/component/browser.py
===================================================================
--- Products.Five/branches/philikon-local-components/component/browser.py	2006-03-02 04:40:14 UTC (rev 65710)
+++ Products.Five/branches/philikon-local-components/component/browser.py	2006-03-02 05:03:38 UTC (rev 65711)
@@ -136,7 +136,7 @@
 
     def __init__(self, viewzpt, viewname, context, request):
         self.viewzpt = viewzpt
-        self.viewname = viewname
+        self.viewname = self.__name__ = viewname
         self.context = context
         self.request = request
 
    
    
More information about the Zope-Checkins
mailing list