mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
Changed 'build_module()' so it returns the result of 'copy_file()'
on the module file -- could be useful for subclasses overriding it.
This commit is contained in:
parent
0d4a853109
commit
3a5a2bd486
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ class build_py (Command):
|
|||
outfile = self.get_module_outfile (self.build_lib, package, module)
|
||||
dir = os.path.dirname (outfile)
|
||||
self.mkpath (dir)
|
||||
self.copy_file (module_file, outfile, preserve_mode=0)
|
||||
return self.copy_file (module_file, outfile, preserve_mode=0)
|
||||
|
||||
|
||||
def build_modules (self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue