From: <fwi...@us...> - 2009-08-10 17:17:04
|
Revision: 6644 http://jython.svn.sourceforge.net/jython/?rev=6644&view=rev Author: fwierzbicki Date: 2009-08-10 17:16:57 +0000 (Mon, 10 Aug 2009) Log Message: ----------- Trivial reindents. Modified Paths: -------------- trunk/jython/Lib/xml/sax/_exceptions.py trunk/jython/Lib/xml/sax/handler.py trunk/jython/Lib/xml/sax/saxutils.py Modified: trunk/jython/Lib/xml/sax/_exceptions.py =================================================================== --- trunk/jython/Lib/xml/sax/_exceptions.py 2009-08-10 17:15:48 UTC (rev 6643) +++ trunk/jython/Lib/xml/sax/_exceptions.py 2009-08-10 17:16:57 UTC (rev 6644) @@ -89,10 +89,10 @@ sysid = "<unknown>" linenum = self.getLineNumber() if linenum is None: - linenum = "?" + linenum = "?" colnum = self.getColumnNumber() if colnum is None: - colnum = "?" + colnum = "?" return "%s:%s:%s: %s" % (sysid, linenum, colnum, self._msg) Modified: trunk/jython/Lib/xml/sax/handler.py =================================================================== --- trunk/jython/Lib/xml/sax/handler.py 2009-08-10 17:15:48 UTC (rev 6643) +++ trunk/jython/Lib/xml/sax/handler.py 2009-08-10 17:16:57 UTC (rev 6644) @@ -326,7 +326,7 @@ # processing a META tag) # read: return the current encoding (possibly established through # auto-detection. -# initial value: UTF-8 +# initial value: UTF-8 # property_interning_dict = "http://www.python.org/sax/properties/interning-dict" Modified: trunk/jython/Lib/xml/sax/saxutils.py =================================================================== --- trunk/jython/Lib/xml/sax/saxutils.py 2009-08-10 17:15:48 UTC (rev 6643) +++ trunk/jython/Lib/xml/sax/saxutils.py 2009-08-10 17:16:57 UTC (rev 6644) @@ -525,11 +525,11 @@ def absolute_system_id(sysid, base=''): if os.path.exists(sysid): sysid = 'file:%s' % os.path.abspath(sysid) - elif base: + elif base: sysid = Absolutize(sysid, base) assert IsAbsolute(sysid) return MakeUrllibSafe(sysid) - + # =========================================================================== # # DEPRECATED SAX 1.0 CLASSES This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |