From 3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 30 Sep 2000 17:33:05 +0000 Subject: Changed 'build_module()' so it returns the result of 'copy_file()' on the module file -- could be useful for subclasses overriding it. --- Lib/distutils/command/build_py.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index ea92c2b..ebe30e8 100644 --- a/Lib/distutils/command/build_py.py +++ b/Lib/distutils/command/build_py.py @@ -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): -- cgit v0.12