projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3d8e67
)
Little cleanup.
author
cah
<cah@ableton.com>
Thu, 17 Feb 2022 23:02:04 +0000
(
00:02
+0100)
committer
cah
<cah@ableton.com>
Thu, 17 Feb 2022 23:02:04 +0000
(
00:02
+0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 87db25ab2fdb0daff77a53d6cd9fd0aa3a99bf11..6315653cf8b5b5474048a889db62aa8518e551c2 100755
(executable)
--- a/
cdist
+++ b/
cdist
@@
-103,7
+103,7
@@
class BoolOption(object):
def offer(self, key, value):
if key == self.key:
- self.value =
(value == 'yes' or value == '1' or value == 'true')
+ self.value =
value in ['yes', '1', 'true']
class Config:
def __init__(self):