From: Greg Ward Date: Thu, 25 May 2000 01:21:54 +0000 (+0000) Subject: Use Distribution's 'has_scripts()' method instead of directly accessing X-Git-Tag: v2.0b1~1685 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d17526b27e1bb23fd2d1ebf57a5be979f73b45;p=python Use Distribution's 'has_scripts()' method instead of directly accessing its 'scripts' attribute. --- diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py index 96d41d5e0b..d9eed7685c 100644 --- a/Lib/distutils/command/build.py +++ b/Lib/distutils/command/build.py @@ -105,7 +105,7 @@ class build (Command): if self.distribution.has_ext_modules(): self.run_peer ('build_ext') - if self.distribution.scripts: + if self.distribution.has_scripts(): self.run_peer ('build_scripts') # class build