Micro-optimization
This commit is contained in:
parent
b40ca5800d
commit
b49b34c4c1
@ -29,7 +29,7 @@ def unit_float(x):
|
||||
|
||||
|
||||
def to_bool(x):
|
||||
return x.lower() in 'y yes true'.split()
|
||||
return x.lower() in ('y', 'yes', 'true')
|
||||
|
||||
|
||||
def to_cmdline(x):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user