fix a typo in generate_control_file that was messing up the check for no tests but not erroring due to a funny coincidence
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3242 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_interface.py b/frontend/afe/rpc_interface.py
index 4ca4e73..7ba4188 100644
--- a/frontend/afe/rpc_interface.py
+++ b/frontend/afe/rpc_interface.py
@@ -359,7 +359,7 @@
synch_count == 1 means the job is asynchronous.
dependencies: A list of the names of labels on which the job depends.
"""
- if not tests and not control_file:
+ if not tests and not client_control_file:
return dict(control_file='', is_server=False, synch_count=1,
dependencies=[])