[ZPT] CVS: Packages/TAL - driver.py:1.25

guido@digicool.com guido@digicool.com
Fri, 15 Jun 2001 10:11:26 -0400 (EDT)


Update of /cvs-repository/Packages/TAL
In directory korak.digicool.com:/tmp/cvs-serv14525

Modified Files:
	driver.py 
Log Message:
Only import setpath when we are __main__.
Don't import Products.ParsedXML.



--- Updated File driver.py in package Packages/TAL --
--- driver.py	2001/06/12 14:59:23	1.24
+++ driver.py	2001/06/15 14:11:25	1.25
@@ -93,11 +93,8 @@
 
 import getopt
 
-try:
+if __name__ == "__main__":
     import setpath                      # Local hack to tweak sys.path etc.
-    import Products.ParsedXML
-except ImportError:
-    pass
 
 # Import local classes
 import TALDefs