[Zope3-checkins] CVS: Zope3/src/zope/tal - dummyengine.py:1.9 htmltalparser.py:1.4 talgettext.py:1.12 talinterpreter.py:1.20 timer.py:1.3

Martijn Faassen m.faassen@vet.uu.nl
Thu, 1 May 2003 15:36:20 -0400


Update of /cvs-repository/Zope3/src/zope/tal
In directory cvs.zope.org:/tmp/cvs-serv30407/zope/tal

Modified Files:
	dummyengine.py htmltalparser.py talgettext.py 
	talinterpreter.py timer.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/tal/dummyengine.py 1.8 => 1.9 ===
--- Zope3/src/zope/tal/dummyengine.py:1.8	Wed Apr 30 10:31:14 2003
+++ Zope3/src/zope/tal/dummyengine.py	Thu May  1 15:35:49 2003
@@ -16,7 +16,6 @@
 """
 
 import re
-import sys
 
 from zope.tal.taldefs import NAME_RE, TALESError, ErrorInfo
 from zope.tal.interfaces import ITALESCompiler, ITALESEngine


=== Zope3/src/zope/tal/htmltalparser.py 1.3 => 1.4 ===
--- Zope3/src/zope/tal/htmltalparser.py:1.3	Fri Apr 25 14:07:21 2003
+++ Zope3/src/zope/tal/htmltalparser.py	Thu May  1 15:35:49 2003
@@ -15,8 +15,6 @@
 Parse HTML and compile to TALInterpreter intermediate code.
 """
 
-import sys
-
 from HTMLParser import HTMLParser, HTMLParseError
 
 from zope.tal.taldefs import ZOPE_METAL_NS, ZOPE_TAL_NS, ZOPE_I18N_NS, \


=== Zope3/src/zope/tal/talgettext.py 1.11 => 1.12 ===
--- Zope3/src/zope/tal/talgettext.py:1.11	Thu Apr 17 16:05:14 2003
+++ Zope3/src/zope/tal/talgettext.py	Thu May  1 15:35:49 2003
@@ -29,7 +29,6 @@
         found.
 """
 
-import os
 import sys
 import time
 import getopt


=== Zope3/src/zope/tal/talinterpreter.py 1.19 => 1.20 ===
--- Zope3/src/zope/tal/talinterpreter.py:1.19	Thu Apr 17 16:05:14 2003
+++ Zope3/src/zope/tal/talinterpreter.py	Thu May  1 15:35:49 2003
@@ -15,16 +15,13 @@
 Interpreter for a pre-compiled TAL program.
 """
 
-import getopt
-import re
 import sys
-import logging
 
 # Do not use cStringIO here!  It's not unicode aware. :(
 from StringIO import StringIO
 
 from zope.i18n.messageid import MessageID
-from zope.tal.taldefs import quote, TAL_VERSION, TALError, METALError
+from zope.tal.taldefs import quote, TAL_VERSION, METALError
 from zope.tal.taldefs import isCurrentVersion
 from zope.tal.taldefs import getProgramVersion, getProgramMode
 from zope.tal.talgenerator import TALGenerator


=== Zope3/src/zope/tal/timer.py 1.2 => 1.3 ===
--- Zope3/src/zope/tal/timer.py:1.2	Wed Dec 25 09:15:29 2002
+++ Zope3/src/zope/tal/timer.py	Thu May  1 15:35:49 2003
@@ -20,7 +20,6 @@
 import sys
 import time
 
-from cPickle import dumps, loads
 from cStringIO import StringIO
 
 from zope.tal.driver import FILE, compilefile, interpretit