commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5345 - trunk/gnue-common/src/schema/scripter


From: johannes
Subject: r5345 - trunk/gnue-common/src/schema/scripter
Date: Thu, 18 Mar 2004 04:14:46 -0600 (CST)

Author: johannes
Date: 2004-03-18 04:14:45 -0600 (Thu, 18 Mar 2004)
New Revision: 5345

Modified:
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
Better handling of exception output


Modified: trunk/gnue-common/src/schema/scripter/Scripter.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/Scripter.py   2004-03-18 10:14:09 UTC 
(rev 5344)
+++ trunk/gnue-common/src/schema/scripter/Scripter.py   2004-03-18 10:14:45 UTC 
(rev 5345)
@@ -104,8 +104,8 @@
 
       self.schema = GSParser.loadFile (self.__input)
 
-    except Exception, message:
-      print message
+    except Exception:
+      print sys.exc_info () [1]
 
     else:
       for vendor in self.__vendors:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]