diff options
-rwxr-xr-x | client/bin/autotest_utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/bin/autotest_utils.py b/client/bin/autotest_utils.py index 0c4390c4..45628a55 100755 --- a/client/bin/autotest_utils.py +++ b/client/bin/autotest_utils.py @@ -542,9 +542,7 @@ def write_keyval(dirname, dictionary): value = '%s' % dictionary[key] # convert numbers to strings if re.search(r'\W', key): raise 'Invalid key: ' + key - if re.search(r'[^\d\.]', value): - raise 'Invalid value %s for key %s' % (value, key) - keyval.write('%s=%s\n' % (key, value)) + keyval.write('%s=%s\n' % (key, str(value))) keyval.close() |