Add get_motd() to Planner RPC functions
Signed-off-by: James Ren <[email protected]>
--- autotest/frontend/planner/rpc_interface.py 2010-04-06 15:56:40.000000000
-0700
+++ autotest/frontend/planner/rpc_interface.py 2010-04-08 16:33:19.000000000
-0700
@@ -381,8 +381,13 @@
failure.save()
+def get_motd():
+ return afe_rpc_utils.get_motd()
+
+
+
def get_static_data():
- result = {'motd': afe_rpc_utils.get_motd(),
+ result = {'motd': get_motd(),
'host_actions': sorted(failure_actions.HostAction.values),
'test_actions': sorted(failure_actions.TestAction.values)}
return result
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest