]> granicus.if.org Git - python/commitdiff
fix bogus references to imp; makes test_minidom succeed
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 21 Sep 2000 14:46:56 +0000 (14:46 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 21 Sep 2000 14:46:56 +0000 (14:46 +0000)
Lib/xml/sax/__init__.py

index c6034367a172748db5f4fe5b1079aa864ee252ef..2979f4a4a0903b2cd5946ff8471b01fcbe4f448b 100644 (file)
@@ -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