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)
|
||||
|
||||
def cast_to_bool(val):
|
||||
if val == str(True):
|
||||
return True
|
||||
return False
|
||||
return val in ['True', 'true', _('True'), _('true'), '1'] # 3139
|
||||
|
||||
def get_type_converter(val):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user