[Zope3-checkins] CVS: Zope3/src/zope/documenttemplate - dt_html.py:1.3 dt_if.py:1.3 dt_in.py:1.4 dt_let.py:1.3 dt_raise.py:1.3 dt_return.py:1.3 dt_string.py:1.3 dt_with.py:1.3
Martijn Faassen
m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:11 -0400
Update of /cvs-repository/Zope3/src/zope/documenttemplate
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/documenttemplate
Modified Files:
dt_html.py dt_if.py dt_in.py dt_let.py dt_raise.py
dt_return.py dt_string.py dt_with.py
Log Message:
Importgeddon part the second. Removed unused imports throughout the
source tree. This should have taken care of most unused imports
in Zope 3. :)
=== Zope3/src/zope/documenttemplate/dt_html.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_html.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_html.py Thu May 1 15:35:40 2003
@@ -17,7 +17,7 @@
"""
import re
from zope.documenttemplate.dt_string import String
-from zope.documenttemplate.dt_util import ParseError, str
+from zope.documenttemplate.dt_util import ParseError
class DTMLRegExClass:
=== Zope3/src/zope/documenttemplate/dt_if.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_if.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_if.py Thu May 1 15:35:40 2003
@@ -77,7 +77,8 @@
$Id$
"""
-from zope.documenttemplate.dt_util import ParseError, parse_params, name_param, str
+from zope.documenttemplate.dt_util import \
+ ParseError, parse_params, name_param
class If:
blockContinuations = 'else', 'elif'
=== Zope3/src/zope/documenttemplate/dt_in.py 1.3 => 1.4 ===
--- Zope3/src/zope/documenttemplate/dt_in.py:1.3 Fri Dec 27 15:06:53 2002
+++ Zope3/src/zope/documenttemplate/dt_in.py Thu May 1 15:35:40 2003
@@ -315,8 +315,10 @@
$Id$
"""
-from zope.documenttemplate.dt_util import ParseError, parse_params, name_param, str
-from zope.documenttemplate.dt_util import render_blocks, InstanceDict, ValidationError, Eval
+from zope.documenttemplate.dt_util import \
+ ParseError, parse_params, name_param
+from zope.documenttemplate.dt_util import \
+ render_blocks, InstanceDict, ValidationError, Eval
import re
from zope.documenttemplate.dt_insv import sequence_variables, opt
=== Zope3/src/zope/documenttemplate/dt_let.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_let.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_let.py Thu May 1 15:35:40 2003
@@ -42,7 +42,6 @@
$Id$
"""
from zope.documenttemplate.dt_util import render_blocks, Eval, ParseError
-from zope.documenttemplate.dt_util import str # Probably needed due to hysterical pickles.
from types import StringType
import re
=== Zope3/src/zope/documenttemplate/dt_raise.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_raise.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_raise.py Thu May 1 15:35:40 2003
@@ -25,7 +25,8 @@
$Id$
'''
-from zope.documenttemplate.dt_util import parse_params, name_param, render_blocks, str
+from zope.documenttemplate.dt_util import \
+ parse_params, name_param, render_blocks
class Raise:
blockContinuations = ()
=== Zope3/src/zope/documenttemplate/dt_return.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_return.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_return.py Thu May 1 15:35:40 2003
@@ -15,8 +15,7 @@
$Id$
"""
-from zope.documenttemplate.dt_util import parse_params, name_param, html_quote, str
-
+from zope.documenttemplate.dt_util import parse_params, name_param
class ReturnTag:
name = 'return'
=== Zope3/src/zope/documenttemplate/dt_string.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_string.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_string.py Thu May 1 15:35:40 2003
@@ -17,7 +17,8 @@
"""
import re, thread
-from zope.documenttemplate.dt_util import ParseError, InstanceDict, TemplateDict, render_blocks, str
+from zope.documenttemplate.dt_util import \
+ ParseError, InstanceDict, TemplateDict, render_blocks
from zope.documenttemplate.dt_var import Var, Call, Comment
from zope.documenttemplate.dt_return import ReturnTag, DTReturn
=== Zope3/src/zope/documenttemplate/dt_with.py 1.2 => 1.3 ===
--- Zope3/src/zope/documenttemplate/dt_with.py:1.2 Wed Dec 25 09:13:36 2002
+++ Zope3/src/zope/documenttemplate/dt_with.py Thu May 1 15:35:40 2003
@@ -35,7 +35,8 @@
$Id$
"""
-from zope.documenttemplate.dt_util import parse_params, name_param, InstanceDict, render_blocks, str
+from zope.documenttemplate.dt_util import \
+ parse_params, name_param, InstanceDict, render_blocks
from zope.documenttemplate.dt_util import TemplateDict
from types import StringType, TupleType