Commit 4e493b61 authored by Greg Ward's avatar Greg Ward

Changed 'build_module()' so it returns the result of 'copy_file()'

on the module file -- could be useful for subclasses overriding it.
parent 3e90f681
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment