summaryrefslogtreecommitdiff
path: root/Lib/xml/sax
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-22 05:07:56 +0000
committerFred Drake <fdrake@acm.org>2000-09-22 05:07:56 +0000
commit9db83cbe9922a163db35496214c1bb1157ce68cc (patch)
tree7700363dcc9154ffa9e4ba896c044235467d7c13 /Lib/xml/sax
parent8334c7f5d94342021ed069b63fa7175f89fc5105 (diff)
downloadcpython-9db83cbe9922a163db35496214c1bb1157ce68cc.tar.gz
White space cleanup, including one item that was an error under -tt.
Diffstat (limited to 'Lib/xml/sax')
-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 2979f4a4a0..902832c866 100644
--- a/Lib/xml/sax/__init__.py
+++ b/Lib/xml/sax/__init__.py
@@ -70,7 +70,7 @@ def make_parser(parser_list = []):
for parser_name in parser_list + default_parser_list:
try:
- return _create_parser(parser_name)
+ return _create_parser(parser_name)
except ImportError,e:
pass
@@ -86,7 +86,7 @@ if sys.platform[ : 4] == "java":
else:
import imp as _imp
-
+
def _rec_find_module(module):
"Improvement over imp.find_module which finds submodules."
path=""
@@ -97,14 +97,14 @@ else:
info = (mod,) + _imp.find_module(mod, [path])
lastmod = _imp.load_module(*info)
-
+
try:
path = lastmod.__path__[0]
except AttributeError, e:
pass
-
+
return info
-
+
def _create_parser(parser_name):
info = _rec_find_module(parser_name)
drv_module = _imp.load_module(*info)