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
3a024ed7
Commit
3a024ed7
authored
Jul 28, 2007
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use canonical form of aq_acquire (function instead of method)
parent
bc433579
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/python/AccessControl/ImplPython.py
lib/python/AccessControl/ImplPython.py
+1
-1
lib/python/AccessControl/Implementation.py
lib/python/AccessControl/Implementation.py
+1
-1
No files found.
lib/python/AccessControl/ImplPython.py
View file @
3a024ed7
...
...
@@ -293,7 +293,7 @@ class ZopeSecurityPolicy:
raise
Unauthorized
(
name
,
value
)
else
:
# Try to acquire roles
try
:
roles
=
container
.
aq_acquire
(
'__roles__'
)
try
:
roles
=
aq_acquire
(
container
,
'__roles__'
)
except
AttributeError
:
if
containerbase
is
not
accessedbase
:
if
self
.
_verbose
:
...
...
lib/python/AccessControl/Implementation.py
View file @
3a024ed7
...
...
@@ -95,7 +95,7 @@ _policy_names = {
# start with the default, mostly because we need something for the tests
setImplementation
(
"
C
"
)
setImplementation
(
"
PYTHON
"
)
# allow the implementation to change from the default
_implementation_set
=
0
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