Revision: 3151
http://svn.sourceforge.net/jython/?rev=3151&view=rev
Author: cgroves
Date: 2007-04-15 22:02:27 -0700 (Sun, 15 Apr 2007)
Log Message:
-----------
Use Python's Exception as the base for SAXException instead of java.lang.Exception. Fixes bug #1699556
Modified Paths:
--------------
trunk/jython/Lib/xml/sax/_exceptions.py
Modified: trunk/jython/Lib/xml/sax/_exceptions.py
===================================================================
--- trunk/jython/Lib/xml/sax/_exceptions.py 2007-04-13 06:37:55 UTC (rev 3150)
+++ trunk/jython/Lib/xml/sax/_exceptions.py 2007-04-16 05:02:27 UTC (rev 3151)
@@ -1,8 +1,5 @@
"""Different kinds of SAX Exceptions"""
import sys
-if sys.platform[:4] == "java":
- from java.lang import Exception
-del sys
# ===== SAXEXCEPTION =====
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|