[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/browser -
resource.py:1.9
Sidnei da Silva
sidnei at x3ng.com.br
Wed Sep 24 18:00:43 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/publisher/browser
In directory cvs.zope.org:/tmp/cvs-serv20618/src/zope/app/publisher/browser
Modified Files:
resource.py
Log Message:
Site should always be true, and if site is a folder with __len__ == 0 it would break stuff
=== Zope3/src/zope/app/publisher/browser/resource.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/publisher/browser/resource.py:1.8 Wed Sep 24 13:31:29 2003
+++ Zope3/src/zope/app/publisher/browser/resource.py Wed Sep 24 18:00:42 2003
@@ -39,7 +39,7 @@
names.append(name)
site = self.__parent__
- while site and 1:
+ while 1:
if ISite.isImplementedBy(site):
break
if IContainmentRoot.isImplementedBy(site):
More information about the Zope3-Checkins
mailing list