mirror of https://github.com/python/cpython.git
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
|
@ -307,7 +307,7 @@ def build_module (self, module, module_file, package):
|
|||
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…
Reference in New Issue