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
1ae68518
Commit
1ae68518
authored
Jul 05, 2012
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fixed compatibility with zope.browserpage 4.0.0
parent
9bc2e7f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/Products/Five/browser/metaconfigure.py
src/Products/Five/browser/metaconfigure.py
+3
-4
No files found.
src/Products/Five/browser/metaconfigure.py
View file @
1ae68518
...
...
@@ -131,7 +131,7 @@ def page(_context, name, permission, for_,
_handle_for
(
_context
,
for_
)
_context
.
action
(
discriminator
=
(
'view'
,
for_
,
name
,
IBrowserRequest
,
layer
),
discriminator
=
(
'view'
,
(
for_
,
layer
),
name
,
IBrowserRequest
),
callable
=
handler
,
args
=
(
'registerAdapter'
,
new_class
,
(
for_
,
layer
),
Interface
,
name
,
_context
.
info
),
...
...
@@ -196,7 +196,7 @@ class IFiveViewDirective(IViewDirective):
class
view
(
zope
.
browserpage
.
metaconfigure
.
view
):
def
__call__
(
self
):
(
_context
,
name
,
for_
,
permission
,
layer
,
class_
,
(
_context
,
name
,
(
for_
,
layer
),
permission
,
class_
,
allowed_interface
,
allowed_attributes
)
=
self
.
args
required
=
{}
...
...
@@ -284,8 +284,7 @@ class view(zope.browserpage.metaconfigure.view):
)
_context
.
action
(
discriminator
=
(
'view'
,
for_
,
name
,
IBrowserRequest
,
layer
,
self
.
provides
),
discriminator
=
(
'view'
,
(
for_
,
layer
),
name
,
self
.
provides
),
callable
=
handler
,
args
=
(
'registerAdapter'
,
newclass
,
(
for_
,
layer
),
self
.
provides
,
name
,
...
...
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