Don't take advantage of OptionDummy's new "auto-initialization" feature
after all -- turns out it doesn't buy us much after all...
This commit is contained in:
parent
474607777d
commit
981f7368f6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue