Commit d0f81982 authored by Greg Ward's avatar Greg Ward

Don't take advantage of OptionDummy's new "auto-initialization" feature

after all -- turns out it doesn't buy us much after all...
parent c36be512
...@@ -239,7 +239,7 @@ class FancyGetopt: ...@@ -239,7 +239,7 @@ class FancyGetopt:
if args is None: if args is None:
args = sys.argv[1:] args = sys.argv[1:]
if object is None: if object is None:
object = OptionDummy(self.attr_name.values()) object = OptionDummy()
created_object = 1 created_object = 1
else: else:
created_object = 0 created_object = 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment