From: <fwi...@us...> - 2009-08-10 17:14:59
|
Revision: 6642 http://jython.svn.sourceforge.net/jython/?rev=6642&view=rev Author: fwierzbicki Date: 2009-08-10 17:14:52 +0000 (Mon, 10 Aug 2009) Log Message: ----------- Trivial reindents. Modified Paths: -------------- trunk/jython/Lib/xml/dom/minidom.py trunk/jython/Lib/xml/dom/pulldom.py Modified: trunk/jython/Lib/xml/dom/minidom.py =================================================================== --- trunk/jython/Lib/xml/dom/minidom.py 2009-08-10 17:13:59 UTC (rev 6641) +++ trunk/jython/Lib/xml/dom/minidom.py 2009-08-10 17:14:52 UTC (rev 6642) @@ -1920,15 +1920,15 @@ except ImportError: pass from xml.dom import pulldom - return _do_pulldom_parse(pulldom.parse, (file,), + return _do_pulldom_parse(pulldom.parse, (file,), {'parser': parser, 'bufsize': bufsize}) def parseString(string, parser=None): """Parse a file into a DOM from a string.""" import sys if parser is None and sys.platform[:4] != "java": - from xml.dom import expatbuilder - return expatbuilder.parseString(string) + from xml.dom import expatbuilder + return expatbuilder.parseString(string) from xml.dom import pulldom return _do_pulldom_parse(pulldom.parseString, (string,), {'parser': parser}) Modified: trunk/jython/Lib/xml/dom/pulldom.py =================================================================== --- trunk/jython/Lib/xml/dom/pulldom.py 2009-08-10 17:13:59 UTC (rev 6641) +++ trunk/jython/Lib/xml/dom/pulldom.py 2009-08-10 17:14:52 UTC (rev 6642) @@ -235,7 +235,7 @@ def __iter__(self): return self - + def expandNode(self, node): event = self.getEvent() parents = [node] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |