Commit d34580cb authored by Jeremy Hylton's avatar Jeremy Hylton

fix bogus references to imp; makes test_minidom succeed

parent cf06571a
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment