[Checkins] SVN: Zope/trunk/src/Products/Five/browser/absoluteurl.py Merge r109473 from the 2.12 branch

Martijn Pieters mj at zopatista.com
Fri Feb 26 11:49:28 EST 2010


Log message for revision 109474:
  Merge r109473 from the 2.12 branch

Changed:
  U   Zope/trunk/src/Products/Five/browser/absoluteurl.py

-=-
Modified: Zope/trunk/src/Products/Five/browser/absoluteurl.py
===================================================================
--- Zope/trunk/src/Products/Five/browser/absoluteurl.py	2010-02-26 16:46:18 UTC (rev 109473)
+++ Zope/trunk/src/Products/Five/browser/absoluteurl.py	2010-02-26 16:49:27 UTC (rev 109474)
@@ -62,7 +62,7 @@
     def _getContextName(self, context):
         if getattr(context, 'getId', None) is not None:
             return context.getId()
-        getattr(context, '__name__', None)
+        return getattr(context, '__name__', None)
 
     def breadcrumbs(self):
         context = self.context



More information about the checkins mailing list