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
33d12bd5
Commit
33d12bd5
authored
Dec 18, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a bug in tuple coercion in apply_diff
parent
9d80644b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lib/python/TreeDisplay/TreeTag.py
lib/python/TreeDisplay/TreeTag.py
+5
-3
No files found.
lib/python/TreeDisplay/TreeTag.py
View file @
33d12bd5
...
...
@@ -84,8 +84,8 @@
##############################################################################
"""Rendering object hierarchies as Trees
"""
__rcs_id__
=
'$Id: TreeTag.py,v 1.4
4 2000/12/15 16:10:46
brian Exp $'
__version__
=
'$Revision: 1.4
4
$'
[
11
:
-
2
]
__rcs_id__
=
'$Id: TreeTag.py,v 1.4
5 2000/12/18 19:25:44
brian Exp $'
__version__
=
'$Revision: 1.4
5
$'
[
11
:
-
2
]
from
DocumentTemplate.DT_Util
import
*
from
DocumentTemplate.DT_String
import
String
...
...
@@ -550,7 +550,9 @@ def apply_diff(state, diff, expand):
id
=
diff
[
-
1
]
del
diff
[
-
1
]
if
len
(
s
)
==
1
:
s
.
append
([])
s
=
list
(
s
[
1
])
s
=
s
[
1
]
if
type
(
s
)
==
type
(()):
s
=
list
(
s
)
loc
=-
1
for
i
in
range
(
len
(
s
)):
if
s
[
i
][
0
]
==
id
:
...
...
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