From: Ka-Ping Yee Date: Tue, 10 Apr 2001 12:22:01 +0000 (+0000) Subject: Fix typo in instantiation of ErrorDuringImport. X-Git-Tag: v2.1c1~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=41763b96039e2270a9b9d01702215e4642343134;p=thirdparty%2FPython%2Fcpython.git Fix typo in instantiation of ErrorDuringImport. --- diff --git a/Lib/pydoc.py b/Lib/pydoc.py index ece8f9609bfe..2fab0dd99d5c 100755 --- a/Lib/pydoc.py +++ b/Lib/pydoc.py @@ -1069,7 +1069,7 @@ def locate(path): continue else: # Some other error occurred before executing the module. - raise ErrorDuringImport(filename, sys.exc_info()) + raise ErrorDuringImport(path, sys.exc_info()) try: x = module for p in parts[n:]: