summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-23 03:53:10 (GMT)
committerGreg Ward <gward@python.net>2000-05-23 03:53:10 (GMT)
commit981f7368f68a03e416f946c6860197bc21bf743c (patch)
tree0fc70ac00196ced2e432797af6e248767e88e171 /Lib
parent474607777d10562679b1640d3831290b0c4284f7 (diff)
downloadcpython-981f7368f68a03e416f946c6860197bc21bf743c.zip
cpython-981f7368f68a03e416f946c6860197bc21bf743c.tar.gz
cpython-981f7368f68a03e416f946c6860197bc21bf743c.tar.bz2
Don't take advantage of OptionDummy's new "auto-initialization" feature
after all -- turns out it doesn't buy us much after all...
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/fancy_getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index 588c6ba..a593354 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/fancy_getopt.py
@@ -239,7 +239,7 @@ class FancyGetopt:
if args is None:
args = sys.argv[1:]
if object is None:
- object = OptionDummy(self.attr_name.values())
+ object = OptionDummy()
created_object = 1
else:
created_object = 0