summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xml/sax/__init__.py')
-rw-r--r--Lib/xml/sax/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py
index 447420e..0375e5d 100644
--- a/Lib/xml/sax/__init__.py
+++ b/Lib/xml/sax/__init__.py
@@ -37,7 +37,7 @@ def parseString(string, handler, errorHandler=ErrorHandler()):
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
-
+
if errorHandler is None:
errorHandler = ErrorHandler()
parser = make_parser()
@@ -61,8 +61,8 @@ del os
_key = "python.xml.sax.parser"
if sys.platform[:4] == "java" and sys.registry.containsKey(_key):
default_parser_list = string.split(sys.registry.getProperty(_key), ",")
-
-
+
+
def make_parser(parser_list = []):
"""Creates and returns a SAX parser.
@@ -85,8 +85,8 @@ def make_parser(parser_list = []):
# so try the next one
pass
- raise SAXReaderNotAvailable("No parsers found", None)
-
+ raise SAXReaderNotAvailable("No parsers found", None)
+
# --- Internal utility methods used by make_parser
if sys.platform[ : 4] == "java":