Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0999c7c

Browse files
committed
temp_files is a list of filenames, not files.
1 parent 67ba879 commit 0999c7c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

numpy/distutils/command/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ def _link (self, body,
123123
# Write the manifest file
124124
manxml = msvc_manifest_xml(ma, mi)
125125
man = open(manifest_name(self), "w")
126-
self.temp_files.append(man)
126+
self.temp_files.append(manxml)
127127
man.write(manxml)
128128
man.close()
129129
# Write the rc file
130130
manrc = manifest_rc(manifest_name(self), "exe")
131131
rc = open(rc_name(self), "w")
132-
self.temp_files.append(rc)
132+
self.temp_files.append(manrc)
133133
rc.write(manrc)
134134
rc.close()
135135
return self._wrap_method(old_config._link,lang,

0 commit comments

Comments
 (0)