Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Add a way to set the "none" value for options #86

Open
SamWhited opened this issue Jul 5, 2015 · 0 comments
Open

Add a way to set the "none" value for options #86

SamWhited opened this issue Jul 5, 2015 · 0 comments
Labels
Milestone

Comments

@SamWhited
Copy link
Member

Right now if an option is set to "none" it's just not written. This is fine normally (the defaults get used), but if you set the option, then set it back to none, it doesn't get written and the option isn't reverted to the default.

Adding an extra argument (none_value?) to the option constructor would do the trick (also a separate method like param_writer when we're doing things manually).

This is needed for #46 in particular.

@SamWhited SamWhited added the bug label Jul 5, 2015
@SamWhited SamWhited added this to the v0.5.0 milestone Jul 5, 2015
@SamWhited SamWhited modified the milestones: v0.6.0, v0.5.0 Aug 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant