* fix a bug in utils.run() when passing stdin as an empty string
* remove the check in AFE that a metahost job request has enough hosts under the label. with the new pluggable metahost handlers, it's possible for handlers to create hosts on the fly to satisfy metahost requests
* expand the size of the label name field in the AFE DB to support more powerful metahost handlers
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4273 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/common_lib/utils.py b/client/common_lib/utils.py
index a36b1d5..fcbdd84 100644
--- a/client/common_lib/utils.py
+++ b/client/common_lib/utils.py
@@ -521,7 +521,7 @@
read_list.append(bg_job.sp.stderr)
reverse_dict[bg_job.sp.stdout] = (bg_job, True)
reverse_dict[bg_job.sp.stderr] = (bg_job, False)
- if bg_job.string_stdin:
+ if bg_job.string_stdin is not None:
write_list.append(bg_job.sp.stdin)
reverse_dict[bg_job.sp.stdin] = bg_job