[Zpt] CVS: Packages/TAL - driver.py:1.15 runtest.py:1.12

guido@digicool.com guido@digicool.com
Fri, 16 Mar 2001 11:48:48 -0500 (EST)


Update of /cvs-repository/Packages/TAL
In directory korak:/tmp/cvs-serv29704

Modified Files:
	driver.py runtest.py 
Log Message:
Touch up error handling.


--- Updated File driver.py in package Packages/TAL --
--- driver.py	2001/03/14 15:52:44	1.14
+++ driver.py	2001/03/16 16:48:48	1.15
@@ -111,7 +111,7 @@
     try:
         opts, args = getopt.getopt(sys.argv[1:], "hmnx")
     except getopt.error, msg:
-        sys.stderr.write("%s\n" % str(msg))
+        sys.stderr.write("\n%s\n" % str(msg))
         sys.stderr.write(
             "usage: driver.py [-h|-x] [-m] [-n] [file]\n")
         sys.stderr.write("-h/-x -- HTML/XML input (default auto)\n")

--- Updated File runtest.py in package Packages/TAL --
--- runtest.py	2001/03/16 16:17:48	1.11
+++ runtest.py	2001/03/16 16:48:48	1.12
@@ -143,6 +143,8 @@
                 driver.main()
             finally:
                 sys.stdout, sys.argv = save
+        except SystemExit:
+            raise
         except:
             errors = 1
             if quiet: