[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/adapter/adapter.py
Marius just pointed out that treating "1" as False is evil.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 16 07:50:16 EDT 2004
Log message for revision 26576:
Marius just pointed out that treating "1" as False is evil.
Changed:
U Zope3/trunk/src/zope/app/adapter/adapter.py
-=-
Modified: Zope3/trunk/src/zope/app/adapter/adapter.py
===================================================================
--- Zope3/trunk/src/zope/app/adapter/adapter.py 2004-07-16 11:22:32 UTC (rev 26575)
+++ Zope3/trunk/src/zope/app/adapter/adapter.py 2004-07-16 11:50:16 UTC (rev 26576)
@@ -268,7 +268,7 @@
for registration in LocalAdapterRegistry.registrations(self):
yield registration
- if localOnly is True:
+ if localOnly:
return
next = self.next
More information about the Zope3-Checkins
mailing list