Fix typo in instantiation of ErrorDuringImport.

This commit is contained in:
Ka-Ping Yee 2001-04-10 12:22:01 +00:00
parent 5a804edd3c
commit 41763b9603
1 changed files with 1 additions and 1 deletions

View File

@ -1069,7 +1069,7 @@ def locate(path):
continue continue
else: else:
# Some other error occurred before executing the module. # Some other error occurred before executing the module.
raise ErrorDuringImport(filename, sys.exc_info()) raise ErrorDuringImport(path, sys.exc_info())
try: try:
x = module x = module
for p in parts[n:]: for p in parts[n:]: