Kaydet (Commit) 981f7368 authored tarafından 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...
üst 47460777
......@@ -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
......
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