summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/sysconfig.py
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:26:44 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2002-06-04 20:26:44 (GMT)
commita2f9989c1a5451253d1e6e8508af422363c7e113 (patch)
tree01836feb7f7de4b1cf1ee3e5540931afa7911bbe /Lib/distutils/sysconfig.py
parenta181ec07af8f0ab34d17be777d65935189df5054 (diff)
downloadcpython-a2f9989c1a5451253d1e6e8508af422363c7e113.zip
cpython-a2f9989c1a5451253d1e6e8508af422363c7e113.tar.gz
cpython-a2f9989c1a5451253d1e6e8508af422363c7e113.tar.bz2
Fix unused local variables caught by pychecker.
Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
Diffstat (limited to 'Lib/distutils/sysconfig.py')
-rw-r--r--Lib/distutils/sysconfig.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py
index 3e32353..847b872 100644
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -305,7 +305,6 @@ def expand_makefile_vars(s, vars):
while 1:
m = _findvar1_rx.search(s) or _findvar2_rx.search(s)
if m:
- name = m.group(1)
(beg, end) = m.span()
s = s[0:beg] + vars.get(m.group(1)) + s[end:]
else: