summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/build_py.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-30 17:33:05 +0000
committerGreg Ward <gward@python.net>2000-09-30 17:33:05 +0000
commit4e73e192b08ecfbaee8591189fe09d228fb6c8f7 (patch)
treeb8295a5ebecd1b8012e0353ac905084bee6e06f2 /Lib/distutils/command/build_py.py
parent9df0e81ad09f35f51bbcce496d526fcf24158cb1 (diff)
downloadcpython-4e73e192b08ecfbaee8591189fe09d228fb6c8f7.tar.gz
Changed 'build_module()' so it returns the result of 'copy_file()'
on the module file -- could be useful for subclasses overriding it.
Diffstat (limited to 'Lib/distutils/command/build_py.py')
-rw-r--r--Lib/distutils/command/build_py.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build_py.py b/Lib/distutils/command/build_py.py
index ea92c2be0f..ebe30e8106 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):