From 246c425964ba742db85076538f14e206a90706b8 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Mon, 13 Aug 2001 13:56:24 +0000 Subject: [PATCH] Fix for NameError caught by PyChecker. (This command seems to be essentially untested; should fix that...) --- Lib/distutils/command/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index ce6cff8cef0..d4096918740 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):