Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
aaed1747
Commit
aaed1747
authored
Jul 12, 2012
by
Patrick Gerken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Last commit used hasattr on wrong object
parent
dc96ef28
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/ZPublisher/BaseRequest.py
src/ZPublisher/BaseRequest.py
+1
-1
No files found.
src/ZPublisher/BaseRequest.py
View file @
aaed1747
...
...
@@ -542,7 +542,7 @@ class BaseRequest:
not
hasattr
(
parents
[
1
],
'__bobo_traverse__'
)):
base
=
parents
[
1
].
aq_base
if
not
(
hasattr
(
base
,
entry_name
)
or
(
hasattr
(
entry_nam
e
,
'__iter__'
)
and
entry_name
in
base
)):
(
hasattr
(
bas
e
,
'__iter__'
)
and
entry_name
in
base
)):
raise
AttributeError
(
entry_name
)
# After traversal post traversal hooks aren't available anymore
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment