]> granicus.if.org Git - python/commitdiff
Fix for NameError caught by PyChecker.
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 13 Aug 2001 13:56:24 +0000 (13:56 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 13 Aug 2001 13:56:24 +0000 (13:56 +0000)
(This command seems to be essentially untested; should fix that...)

Lib/distutils/command/config.py

index ce6cff8cef054ab4a7577fce93b4bcc07f0c83e2..d4096918740cf728ff92113743a9f47110c44f0c 100644 (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):