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
d66ba51c
Commit
d66ba51c
authored
Jan 16, 2001
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added denys for aq_self, aq_base
parent
10837a2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
lib/python/OFS/Traversable.py
lib/python/OFS/Traversable.py
+5
-2
No files found.
lib/python/OFS/Traversable.py
View file @
d66ba51c
...
@@ -84,8 +84,8 @@
...
@@ -84,8 +84,8 @@
##############################################################################
##############################################################################
'''This module implements a mix-in for traversable objects.
'''This module implements a mix-in for traversable objects.
$Id: Traversable.py,v 1.
5 2000/09/05 20:52:47
brian Exp $'''
$Id: Traversable.py,v 1.
6 2001/01/16 16:52:52
brian Exp $'''
__version__
=
'$Revision: 1.
5
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.
6
$'
[
11
:
-
2
]
import
Acquisition
import
Acquisition
...
@@ -170,6 +170,9 @@ class Traversable:
...
@@ -170,6 +170,9 @@ class Traversable:
# Never allowed in a URL.
# Never allowed in a URL.
raise
'NotFound'
,
name
raise
'NotFound'
,
name
if
name
in
(
'aq_self'
,
'aq_base'
):
raise
'NotFound'
,
name
if
name
==
'..'
:
if
name
==
'..'
:
o
=
getattr
(
object
,
'aq_parent'
,
M
)
o
=
getattr
(
object
,
'aq_parent'
,
M
)
if
o
is
not
M
:
if
o
is
not
M
:
...
...
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