[Zope3-checkins] CVS: Zope3/src/zope/tales - engine.py:1.2 expressions.py:1.3 tales.py:1.5

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


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

Modified Files:
	engine.py expressions.py tales.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/tales/engine.py 1.1 => 1.2 ===
--- Zope3/src/zope/tales/engine.py:1.1	Mon Apr 14 08:15:51 2003
+++ Zope3/src/zope/tales/engine.py	Thu May  1 15:35:50 2003
@@ -18,7 +18,7 @@
 $Id$
 """
 
-from zope.tales.tales import ExpressionEngine, RegistrationError
+from zope.tales.tales import ExpressionEngine
 from zope.tales.expressions import PathExpr, StringExpr, NotExpr, DeferExpr
 from zope.tales.expressions import SimpleModuleImporter
 from zope.tales.pythonexpr import PythonExpr


=== Zope3/src/zope/tales/expressions.py 1.2 => 1.3 ===
--- Zope3/src/zope/tales/expressions.py:1.2	Tue Apr 15 11:54:17 2003
+++ Zope3/src/zope/tales/expressions.py	Thu May  1 15:35:50 2003
@@ -17,14 +17,11 @@
 """
 __metaclass__ = type # All classes are new style when run with Python 2.2+
 
-import re, sys
+import re
 from types import StringTypes, TupleType
 
-from zope.tales.tales import ExpressionEngine
 from zope.tales.tales import CompilerError
-from zope.tales.tales import RegistrationError
 from zope.tales.tales import _valid_name, _parse_expr, NAME_RE, Undefined 
-from zope.tales.pythonexpr import PythonExpr
 
 Undefs = (Undefined, AttributeError, KeyError, TypeError, IndexError)
 


=== Zope3/src/zope/tales/tales.py 1.4 => 1.5 ===
--- Zope3/src/zope/tales/tales.py:1.4	Wed Apr 16 15:34:24 2003
+++ Zope3/src/zope/tales/tales.py	Thu May  1 15:35:50 2003
@@ -20,7 +20,6 @@
 __version__ = '$Revision$'[11:-2]
 
 import re
-import sys
 from types import StringTypes
 
 from zope.proxy import proxy_compatible_isinstance as isinstance_ex