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:
Paul Franklin 2013-07-21 20:03:48 +00:00
parent 18e9c860a4
commit e766623a65

View File

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