diff options
-rw-r--r-- | python/m5/convert.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/m5/convert.py b/python/m5/convert.py index 2f69645b9..4a4492af7 100644 --- a/python/m5/convert.py +++ b/python/m5/convert.py @@ -81,6 +81,8 @@ def toBool(val): return True elif val == "false" or val == "f" or val == "no" or val == "n": return False + elif val == "": + return False return toInteger(val) != 0 |