Fix for NameError caught by PyChecker.

(This command seems to be essentially untested; should fix that...)
This commit is contained in:
Andrew M. Kuchling 2001-08-13 13:56:24 +00:00
parent fd6608bcea
commit 246c425964
1 changed files with 2 additions and 2 deletions

View File

@ -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):