From: Greg Ward Date: Sat, 30 Sep 2000 17:33:05 +0000 (+0000) Subject: Changed 'build_module()' so it returns the result of 'copy_file()' X-Git-Tag: v2.0c1~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2;p=thirdparty%2FPython%2Fcpython.git Changed 'build_module()' so it returns the result of 'copy_file()' on the module file -- could be useful for subclasses overriding it. --- diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py index ea92c2be0f2c..ebe30e810661 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):