summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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):