mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fix unused local variables caught by pychecker.
Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have prevented it from building subpackages.
This commit is contained in:
parent
a181ec07af
commit
a2f9989c1a
6 changed files with 8 additions and 22 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue