]> granicus.if.org Git - python/commitdiff
Changed 'build_module()' so it returns the result of 'copy_file()'
authorGreg Ward <gward@python.net>
Sat, 30 Sep 2000 17:33:05 +0000 (17:33 +0000)
committerGreg Ward <gward@python.net>
Sat, 30 Sep 2000 17:33:05 +0000 (17:33 +0000)
on the module file -- could be useful for subclasses overriding it.

Lib/distutils/command/build_py.py

index ea92c2be0f2cef8b1226da538082329772008bb7..ebe30e8106613b729c2c81fc4c9387bba5597de0 100644 (file)
@@ -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):