summaryrefslogtreecommitdiff
path: root/tools
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
commit27d113c748b70557e5d9df2d0258b69543f3e081 (patch)
tree4021887ec547a2e7397a63205370b180c9cb62e7 /tools
parent555a1eae3b6f88bce7be9c5333b42dc6d01b20a1 (diff)
tools/build_configs.py: fix quoting of integer values
Diffstat (limited to 'tools')
-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 15a03f4..6c32ad9 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