From: Andrew M. Kuchling Date: Mon, 13 Aug 2001 13:56:24 +0000 (+0000) Subject: Fix for NameError caught by PyChecker. X-Git-Tag: v2.2a3~606 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=246c425964ba742db85076538f14e206a90706b8;p=thirdparty%2FPython%2Fcpython.git Fix for NameError caught by PyChecker. (This command seems to be essentially untested; should fix that...) --- diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index ce6cff8cef05..d4096918740c 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -272,8 +272,8 @@ class config (Command): from distutils.ccompiler import CompileError, LinkError self._check_compiler() try: - self._link(body, headers, include_dirs, - libraries, library_dirs, lang) + src, obj, exe = self._link(body, headers, include_dirs, + libraries, library_dirs, lang) self.spawn([exe]) ok = 1 except (CompileError, LinkError, DistutilsExecError):