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
ff3dbc6f
Commit
ff3dbc6f
authored
May 02, 2006
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
objects will never provide IDefaultViewName. It's just a marker interface
for strings, i believe...
parent
21d87fc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lib/python/ZPublisher/BaseRequest.py
lib/python/ZPublisher/BaseRequest.py
+1
-2
No files found.
lib/python/ZPublisher/BaseRequest.py
View file @
ff3dbc6f
...
@@ -404,8 +404,7 @@ class BaseRequest:
...
@@ -404,8 +404,7 @@ class BaseRequest:
# BrowserDefault returns the object to be published
# BrowserDefault returns the object to be published
# (usually self) and a sequence of names to traverse to
# (usually self) and a sequence of names to traverse to
# find the method to be published.
# find the method to be published.
if
(
IBrowserPublisher
.
providedBy
(
object
)
or
if
IBrowserPublisher
.
providedBy
(
object
):
IDefaultViewName
.
providedBy
(
object
)):
adapter
=
object
adapter
=
object
else
:
else
:
adapter
=
queryMultiAdapter
((
object
,
self
),
adapter
=
queryMultiAdapter
((
object
,
self
),
...
...
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