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:
Greg Ward 2000-09-30 17:33:05 +00:00
parent 0d4a853109
commit 3a5a2bd486
1 changed files with 1 additions and 1 deletions

View File

@ -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):