projects
/
cdist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Little cleanup.
[cdist.git]
/
cdist
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):