diff options
author | Greg Ward <gward@python.net> | 2000-05-07 15:32:13 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-05-07 15:32:13 (GMT) |
commit | 4779cdfae8cf3ce3ec9704ad451d587bd958c13c (patch) | |
tree | 5da15f515c3bac0ae8d138ac739cd00420b4b497 /Lib/distutils/command/bdist.py | |
parent | c4537ac9b65be40ce3d803196845a9e9b7fb3513 (diff) | |
download | cpython-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/bdist.py')
-rw-r--r-- | Lib/distutils/command/bdist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index cde8dd6..01b4e16 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -64,7 +64,7 @@ class bdist (Command): "invalid archive format '%s'" % self.format sub_cmd = self.find_peer (cmd_name) - sub_cmd.set_option ('format', self.format) + sub_cmd.format = self.format self.run_peer (cmd_name) # run() |