diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-27 20:16:21 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-27 20:16:21 +0200 |
commit | 27d113c748b70557e5d9df2d0258b69543f3e081 (patch) | |
tree | 4021887ec547a2e7397a63205370b180c9cb62e7 /tools | |
parent | 555a1eae3b6f88bce7be9c5333b42dc6d01b20a1 (diff) |
tools/build_configs.py: fix quoting of integer values
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build_configs.py | 2 |
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 |