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
e04cc3d9
Commit
e04cc3d9
authored
Sep 29, 1999
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a reported bug in tpValuesIds that prevented expand_all from working
correctly.
parent
5b1e5600
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/python/TreeDisplay/TreeTag.py
lib/python/TreeDisplay/TreeTag.py
+4
-4
No files found.
lib/python/TreeDisplay/TreeTag.py
View file @
e04cc3d9
...
...
@@ -84,8 +84,8 @@
##############################################################################
"""Rendering object hierarchies as Trees
"""
__rcs_id__
=
'$Id: TreeTag.py,v 1.3
7 1999/09/09 17:23:45 petrilli
Exp $'
__version__
=
'$Revision: 1.3
7
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: TreeTag.py,v 1.3
8 1999/09/29 13:40:44 brian
Exp $'
__version__
=
'$Revision: 1.3
8
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
*
from
DocumentTemplate.DT_String
import
String
...
...
@@ -632,8 +632,8 @@ def tpValuesIds(self, branches, args,
try
:
if
getattr
(
item
,
branches
)():
if
hasattr
(
self
,
idattr
):
id
=
getattr
(
self
,
idattr
)
if
hasattr
(
item
,
idattr
):
id
=
getattr
(
item
,
idattr
)
if
not
simple_type
(
type
(
id
)):
id
=
id
()
elif
hasattr
(
item
,
'_p_oid'
):
id
=
oid
(
item
)
else
:
id
=
pyid
(
item
)
...
...
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