summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2000-09-21 14:46:56 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2000-09-21 14:46:56 (GMT)
commitd34580cb878efadc2e6a33df3de7b6d9828e67b0 (patch)
treed336790405d1ffee469b50f5c8c8dae8955823dd /Lib/xml/sax
parentcf06571a8b7f665ec464ae1c0455b51bf989c43b (diff)
downloadcpython-d34580cb878efadc2e6a33df3de7b6d9828e67b0.zip
cpython-d34580cb878efadc2e6a33df3de7b6d9828e67b0.tar.gz
cpython-d34580cb878efadc2e6a33df3de7b6d9828e67b0.tar.bz2
fix bogus references to imp; makes test_minidom succeed
Diffstat (limited to 'Lib/xml/sax')
-rw-r--r--Lib/xml/sax/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/xml/sax/__init__.py b/Lib/xml/sax/__init__.py
index c603436..2979f4a 100644
--- a/Lib/xml/sax/__init__.py
+++ b/Lib/xml/sax/__init__.py
@@ -96,7 +96,7 @@ else:
else:
info = (mod,) + _imp.find_module(mod, [path])
- lastmod = apply(imp.load_module, info)
+ lastmod = _imp.load_module(*info)
try:
path = lastmod.__path__[0]
@@ -107,7 +107,7 @@ else:
def _create_parser(parser_name):
info = _rec_find_module(parser_name)
- drv_module = apply(imp.load_module, info)
+ drv_module = _imp.load_module(*info)
return drv_module.create_parser()
del sys