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
d6b99a03
Commit
d6b99a03
authored
Jan 24, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove last remaning deprecation warning generated from this module.
parent
e2dfd219
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
lib/python/TAL/TALInterpreter.py
lib/python/TAL/TALInterpreter.py
+2
-7
No files found.
lib/python/TAL/TALInterpreter.py
View file @
d6b99a03
...
@@ -18,11 +18,6 @@ import sys
...
@@ -18,11 +18,6 @@ import sys
import
getopt
import
getopt
from
cgi
import
escape
from
cgi
import
escape
from
string
import
rfind
try
:
from
strop
import
rfind
except
ImportError
:
pass
try
:
try
:
from
cStringIO
import
StringIO
from
cStringIO
import
StringIO
...
@@ -163,9 +158,9 @@ class TALInterpreter:
...
@@ -163,9 +158,9 @@ class TALInterpreter:
self
.
col
=
0
self
.
col
=
0
def
stream_write
(
self
,
s
,
def
stream_write
(
self
,
s
,
len
=
len
,
rfind
=
rfind
):
len
=
len
):
self
.
_stream_write
(
s
)
self
.
_stream_write
(
s
)
i
=
rfind
(
s
,
'
\
n
'
)
i
=
s
.
rfind
(
'
\
n
'
)
if
i
<
0
:
if
i
<
0
:
self
.
col
=
self
.
col
+
len
(
s
)
self
.
col
=
self
.
col
+
len
(
s
)
else
:
else
:
...
...
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