[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins] SVN: Zope/branches/2.13/src/ZPublisher/BaseRequest.py Last commit
From: Partick Gerken <cvs-admin () zope ! org>
Date: 2012-07-12 10:26:15
Message-ID: 20120712102615.F04DB940D4 () cvs ! zope ! org
[Download RAW message or body]
Log message for revision 127341:
Last commit used hasattr on wrong object
Changed:
U Zope/branches/2.13/src/ZPublisher/BaseRequest.py
-=-
Modified: Zope/branches/2.13/src/ZPublisher/BaseRequest.py
===================================================================
--- Zope/branches/2.13/src/ZPublisher/BaseRequest.py 2012-07-12 10:25:00 UTC (rev 127340)
+++ Zope/branches/2.13/src/ZPublisher/BaseRequest.py 2012-07-12 10:26:12 UTC (rev 127341)
@@ -542,7 +542,7 @@
not hasattr(parents[1],'__bobo_traverse__')):
base = parents[1].aq_base
if not (hasattr(base, entry_name) or
- (hasattr(entry_name, '__iter__') and entry_name in base)):
+ (hasattr(base, '__iter__') and entry_name in base)):
raise AttributeError(entry_name)
# After traversal post traversal hooks aren't available anymore
_______________________________________________
Zope-Checkins maillist - Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic