diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 15:50:28 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-11-30 21:19:44 -0500 |
commit | 2f97b2d7c250d4612654824633122b63d917a937 (patch) | |
tree | c43f5cb774c3c0e27349161826b8da8ff08857e7 /klippy/serialhdl.py | |
parent | 57244de37d6b4e2247c09803d06728daacfdaa48 (diff) | |
download | kutter-2f97b2d7c250d4612654824633122b63d917a937.tar.gz kutter-2f97b2d7c250d4612654824633122b63d917a937.tar.xz kutter-2f97b2d7c250d4612654824633122b63d917a937.zip |
klippy: Add ConfigWrapper.getchoice method
Add helper function that ensures a config option is one of several
choices. This helps ensure that a proper error is raised if an
invalid choice is made.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialhdl.py')
0 files changed, 0 insertions, 0 deletions