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
fd5a6aa6
Commit
fd5a6aa6
authored
May 07, 2002
by
Toby Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct unicode-aware joining of sequences
parent
3fd44509
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/python/DocumentTemplate/DT_In.py
lib/python/DocumentTemplate/DT_In.py
+5
-5
No files found.
lib/python/DocumentTemplate/DT_In.py
View file @
fd5a6aa6
...
@@ -331,11 +331,11 @@
...
@@ -331,11 +331,11 @@
'''
#'
'''
#'
__rcs_id__
=
'$Id: DT_In.py,v 1.5
8 2002/04/24 14:38:40
htrd Exp $'
__rcs_id__
=
'$Id: DT_In.py,v 1.5
9 2002/05/07 17:55:37
htrd Exp $'
__version__
=
'$Revision: 1.5
8
$'
[
11
:
-
2
]
__version__
=
'$Revision: 1.5
9
$'
[
11
:
-
2
]
import
sys
import
sys
from
DT_Util
import
ParseError
,
parse_params
,
name_param
,
str
from
DT_Util
import
ParseError
,
parse_params
,
name_param
,
str
,
join_unicode
from
DT_Util
import
render_blocks
,
InstanceDict
,
ValidationError
,
Eval
from
DT_Util
import
render_blocks
,
InstanceDict
,
ValidationError
,
Eval
from
DT_Util
import
simple_name
,
add_with_prefix
from
DT_Util
import
simple_name
,
add_with_prefix
import
re
import
re
...
@@ -609,7 +609,7 @@ class InClass:
...
@@ -609,7 +609,7 @@ class InClass:
if
index
==
first
:
pkw
[
'sequence-start'
]
=
0
if
index
==
first
:
pkw
[
'sequence-start'
]
=
0
result
=
''
.
join
(
result
)
result
=
join_unicode
(
result
)
finally
:
finally
:
if
cache
:
pop
()
if
cache
:
pop
()
...
@@ -708,7 +708,7 @@ class InClass:
...
@@ -708,7 +708,7 @@ class InClass:
pop
()
pop
()
if
index
==
0
:
pkw
[
'sequence-start'
]
=
0
if
index
==
0
:
pkw
[
'sequence-start'
]
=
0
result
=
''
.
join
(
result
)
result
=
join_unicode
(
result
)
finally
:
finally
:
if
cache
:
pop
()
if
cache
:
pop
()
...
...
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