Index: tools/grit/grit/util.py |
diff --git a/tools/grit/grit/util.py b/tools/grit/grit/util.py |
index 93dce2610074cdef7fbc0190e3e36d3950d1d94f..b958bc22db2a011ea593977548dd9aa6bbd80e4a 100755 |
--- a/tools/grit/grit/util.py |
+++ b/tools/grit/grit/util.py |
@@ -483,8 +483,7 @@ |
'''Parses a define argument and returns the name and value. |
The format is either "NAME=VAL" or "NAME", using True as the default value. |
- Values of "1"/"true" and "0"/"false" are transformed to True and False |
- respectively. |
+ Values of "1" and "0" are transformed to True and False respectively. |
Args: |
define: a string of the form "NAME=VAL" or "NAME". |
@@ -498,8 +497,8 @@ |
val = True |
if len(parts) > 1: |
val = parts[1] |
- if val == "1" or val == "true": val = True |
- elif val == "0" or val == "false": val = False |
+ if val == "1": val = True |
+ elif val == "0": val = False |
return (name, val) |