Fix up keyval not to require numbers
Signed-off-by: Martin J. Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@800 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/bin/autotest_utils.py b/client/bin/autotest_utils.py
index 0c4390c..45628a5 100755
--- a/client/bin/autotest_utils.py
+++ b/client/bin/autotest_utils.py
@@ -542,9 +542,7 @@
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()