]> granicus.if.org Git - python/commitdiff
Fix typo in instantiation of ErrorDuringImport.
authorKa-Ping Yee <ping@zesty.ca>
Tue, 10 Apr 2001 12:22:01 +0000 (12:22 +0000)
committerKa-Ping Yee <ping@zesty.ca>
Tue, 10 Apr 2001 12:22:01 +0000 (12:22 +0000)
Lib/pydoc.py

index ece8f9609bfe16ca53d42eb95e6e719dba0a26e2..2fab0dd99d5c63ca2c79809e4169b9ed397360ea 100755 (executable)
@@ -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:]: