summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-08-13 13:56:24 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-08-13 13:56:24 (GMT)
commit246c425964ba742db85076538f14e206a90706b8 (patch)
treecf3e6692899c26f1d676853211136d298915745b /Lib/distutils/command
parentfd6608bcea685073efffe779d7f4261dd8e512d4 (diff)
downloadcpython-246c425964ba742db85076538f14e206a90706b8.zip
cpython-246c425964ba742db85076538f14e206a90706b8.tar.gz
cpython-246c425964ba742db85076538f14e206a90706b8.tar.bz2
Fix for NameError caught by PyChecker.
(This command seems to be essentially untested; should fix that...)
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py
index ce6cff8..d409691 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):