summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-09-27 20:16:21 +0200
committerRichard Braun <rbraun@sceen.net>2017-09-27 20:16:21 +0200
commitf4249e6724d6cbc545ef579c034db6b37b043817 (patch)
tree4021887ec547a2e7397a63205370b180c9cb62e7
parent660d1df655bcd56f46d3e7a8b20b061eecb9843a (diff)
tools/build_configs.py: fix quoting of integer values
-rwxr-xr-xtools/build_configs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/build_configs.py b/tools/build_configs.py
index 15a03f4e..6c32ad9e 100755
--- a/tools/build_configs.py
+++ b/tools/build_configs.py
@@ -18,7 +18,7 @@ def print_fn(*args):
return None
def quote_if_needed(value):
- if not isinstance(value, int) and value != 'y' and value != 'n':
+ if not value.isdigit() and value != 'y' and value != 'n':
value = '"' + value + '"'
return value