From: <fwi...@us...> - 2009-08-10 17:17:42
|
Revision: 6645 http://jython.svn.sourceforge.net/jython/?rev=6645&view=rev Author: fwierzbicki Date: 2009-08-10 17:17:35 +0000 (Mon, 10 Aug 2009) Log Message: ----------- Trivial reindents. Modified Paths: -------------- trunk/jython/Lib/xml/sax/drivers2/drv_javasax.py Modified: trunk/jython/Lib/xml/sax/drivers2/drv_javasax.py =================================================================== --- trunk/jython/Lib/xml/sax/drivers2/drv_javasax.py 2009-08-10 17:16:57 UTC (rev 6644) +++ trunk/jython/Lib/xml/sax/drivers2/drv_javasax.py 2009-08-10 17:17:35 UTC (rev 6645) @@ -35,7 +35,7 @@ jaxp = 1 except ImportError: jaxp = 0 - + from java.lang import String @@ -50,7 +50,7 @@ class JyErrorHandlerWrapper(javasax.ErrorHandler): def __init__(self, err_handler): self._err_handler = err_handler - + def error(self, exc): self._err_handler.error(_wrap_sax_exception(exc)) @@ -105,7 +105,7 @@ self.lineNum = lineNum self.pubId = pubId self.sysId = sysId - + def getColumnNumber(self): return self.colNum @@ -265,7 +265,7 @@ def get(self, name, alt=None): try: - return self.getValue(name) + return self.getValue(name) except KeyError: return alt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |