3139: boolean command line options have to be specified as foo=true ...
The solution was suggested by Doug Blank. svn: r22707
This commit is contained in:
parent
18e9c860a4
commit
e766623a65
@ -1173,9 +1173,7 @@ def rm_tempdir(path):
|
|||||||
shutil.rmtree(path)
|
shutil.rmtree(path)
|
||||||
|
|
||||||
def cast_to_bool(val):
|
def cast_to_bool(val):
|
||||||
if val == str(True):
|
return val in ['True', 'true', _('True'), _('true'), '1'] # 3139
|
||||||
return True
|
|
||||||
return False
|
|
||||||
|
|
||||||
def get_type_converter(val):
|
def get_type_converter(val):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user