summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/install_lib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-07 15:32:13 (GMT)
committerGreg Ward <gward@python.net>2000-05-07 15:32:13 (GMT)
commit4779cdfae8cf3ce3ec9704ad451d587bd958c13c (patch)
tree5da15f515c3bac0ae8d138ac739cd00420b4b497 /Lib/distutils/command/install_lib.py
parentc4537ac9b65be40ce3d803196845a9e9b7fb3513 (diff)
downloadcpython-4779cdfae8cf3ce3ec9704ad451d587bd958c13c.zip
cpython-4779cdfae8cf3ce3ec9704ad451d587bd958c13c.tar.gz
cpython-4779cdfae8cf3ce3ec9704ad451d587bd958c13c.tar.bz2
Don't use 'set_option()' or 'get_option()' method -- direct attribute access,
or getattr/setattr, is all that's needed.
Diffstat (limited to 'Lib/distutils/command/install_lib.py')
-rw-r--r--Lib/distutils/command/install_lib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/install_lib.py b/Lib/distutils/command/install_lib.py
index 5740c5e..852e3f6 100644
--- a/Lib/distutils/command/install_lib.py
+++ b/Lib/distutils/command/install_lib.py
@@ -79,7 +79,7 @@ class install_lib (Command):
build_cmd = self.find_peer (build_cmd)
build_files = build_cmd.get_outputs()
- build_dir = build_cmd.get_option (cmd_option)
+ build_dir = getattr (build_cmd, cmd_option)
prefix_len = len (build_dir) + len (os.sep)
outputs = []