diff options
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r-- | Lib/distutils/command/build_ext.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py index 4b5aaab..6456ad4 100644 --- a/Lib/distutils/command/build_ext.py +++ b/Lib/distutils/command/build_ext.py @@ -370,12 +370,12 @@ class build_ext (Command): ext_filename = os.path.join (self.build_lib, self.get_ext_filename(fullname)) - if not (self.force or newer_group(sources, ext_filename, 'newer')): - self.announce ("skipping '%s' extension (up-to-date)" % + if not (self.force or newer_group(sources, ext_filename, 'newer')): + self.announce ("skipping '%s' extension (up-to-date)" % ext.name) - continue # 'for' loop over all extensions - else: - self.announce ("building '%s' extension" % ext.name) + continue # 'for' loop over all extensions + else: + self.announce ("building '%s' extension" % ext.name) # First, scan the sources for SWIG definition files (.i), run # SWIG on 'em to create .c files, and modify the sources list |