summaryrefslogtreecommitdiff
path: root/reconfigure/items/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/items/util.py')
-rw-r--r--reconfigure/items/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/reconfigure/items/util.py b/reconfigure/items/util.py
new file mode 100644
index 0000000..0a615ed
--- /dev/null
+++ b/reconfigure/items/util.py
@@ -0,0 +1,3 @@
+yn_getter = lambda x: x == 'yes'
+
+yn_setter = lambda x: 'yes' if x else 'no'