summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-25 01:21:54 (GMT)
committerGreg Ward <gward@python.net>2000-05-25 01:21:54 (GMT)
commite3d17526b27e1bb23fd2d1ebf57a5be979f73b45 (patch)
treec08c38d02f58266cb78f66d1bd5905858f6f1cfc /Lib/distutils/command/build.py
parenta4efe65b431664ea9104ce2457637429ebd87ebb (diff)
downloadcpython-e3d17526b27e1bb23fd2d1ebf57a5be979f73b45.zip
cpython-e3d17526b27e1bb23fd2d1ebf57a5be979f73b45.tar.gz
cpython-e3d17526b27e1bb23fd2d1ebf57a5be979f73b45.tar.bz2
Use Distribution's 'has_scripts()' method instead of directly accessing
its 'scripts' attribute.
Diffstat (limited to 'Lib/distutils/command/build.py')
-rw-r--r--Lib/distutils/command/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/build.py b/Lib/distutils/command/build.py
index 96d41d5..d9eed76 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