diff options
author | Greg Ward <gward@python.net> | 2000-09-30 17:33:05 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-09-30 17:33:05 (GMT) |
commit | 3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2 (patch) | |
tree | 150d82d2636e2efd01e9ec4eb688c24992754210 | |
parent | 0d4a85310937f686d70188dabe3aacde8703e47a (diff) | |
download | cpython-3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2.zip cpython-3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2.tar.gz cpython-3a5a2bd486fd3b5b001a575c2b9869a0cd6910a2.tar.bz2 |
Changed 'build_module()' so it returns the result of 'copy_file()'
on the module file -- could be useful for subclasses overriding it.
-rw-r--r-- | Lib/distutils/command/build_py.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |