Micro-optimization

This commit is contained in:
Kovid Goyal 2019-02-14 15:41:29 +05:30
parent b40ca5800d
commit b49b34c4c1
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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):