summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/emxccompiler.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/emxccompiler.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/emxccompiler.py')
-rw-r--r--Lib/distutils/emxccompiler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/emxccompiler.py b/Lib/distutils/emxccompiler.py
index 2788209..644c6fc 100644
--- a/Lib/distutils/emxccompiler.py
+++ b/Lib/distutils/emxccompiler.py
@@ -174,11 +174,11 @@ class EMXCCompiler (UnixCCompiler):
# generate the filenames for these files
def_file = os.path.join(temp_dir, dll_name + ".def")
- lib_file = os.path.join(temp_dir, dll_name + ".lib")
# Generate .def file
contents = [
- "LIBRARY %s INITINSTANCE TERMINSTANCE" % os.path.splitext(os.path.basename(output_filename))[0],
+ "LIBRARY %s INITINSTANCE TERMINSTANCE" % \
+ os.path.splitext(os.path.basename(output_filename))[0],
"DATA MULTIPLE NONSHARED",
"EXPORTS"]
for sym in export_symbols: