[Checkins] SVN: z3c.breadcrumb/trunk/ Tests pass now and egg files are ignored.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jul 10 15:45:28 EDT 2007


Log message for revision 77685:
  Tests pass now and egg files are ignored.
  

Changed:
  _U  z3c.breadcrumb/trunk/
  _U  z3c.breadcrumb/trunk/src/
  U   z3c.breadcrumb/trunk/src/z3c/breadcrumb/browser.py

-=-

Property changes on: z3c.breadcrumb/trunk
___________________________________________________________________
Name: svn:ignore
   + develop-eggs
eggs
bin
parts
.installed.cfg




Property changes on: z3c.breadcrumb/trunk/src
___________________________________________________________________
Name: svn:ignore
   + z3c.breadcrumb.egg-info


Modified: z3c.breadcrumb/trunk/src/z3c/breadcrumb/browser.py
===================================================================
--- z3c.breadcrumb/trunk/src/z3c/breadcrumb/browser.py	2007-07-10 19:41:15 UTC (rev 77684)
+++ z3c.breadcrumb/trunk/src/z3c/breadcrumb/browser.py	2007-07-10 19:45:27 UTC (rev 77685)
@@ -19,6 +19,7 @@
 import zope.component
 import zope.interface
 import zope.location
+import zope.traversing.api
 import zope.traversing.browser
 from zope.publisher.interfaces import NotFound
 from zope.publisher import browser
@@ -50,7 +51,8 @@
     @property
     def crumbs(self):
         objects = []
-        for obj in [self.context]+list(zope.component.getParents(self.context)):
+        for obj in ( [self.context] +
+                     list(zope.traversing.api.getParents(self.context)) ):
             objects.append(obj)
             if ISite.providedBy(obj):
                 break



More information about the Checkins mailing list