rpc_utils.extra_job_filters() should always return a dict

Signed-off-by: Steve Howard <showard@google.com>

Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3135 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/frontend/afe/rpc_utils.py b/frontend/afe/rpc_utils.py
index e6af277..23bbba0 100644
--- a/frontend/afe/rpc_utils.py
+++ b/frontend/afe/rpc_utils.py
@@ -108,7 +108,7 @@
         where = ['id NOT IN (SELECT job_id FROM host_queue_entries '
                  'WHERE not complete OR active)']
     else:
-        return None
+        return {}
     return {'where': where}