diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-08-27 20:37:09 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-08-27 20:37:09 +0200 |
commit | 9c625c5a1945428f5b33202ab9179c9052cbf116 (patch) | |
tree | 9d10dc648dda2b8a3956abacee21c375fce30a06 /rteval | |
parent | f3c241d2d47e16bb9695d2dd4898c6f1da4e3fb6 (diff) | |
download | rteval-9c625c5a1945428f5b33202ab9179c9052cbf116.tar.gz rteval-9c625c5a1945428f5b33202ab9179c9052cbf116.tar.xz rteval-9c625c5a1945428f5b33202ab9179c9052cbf116.zip |
Implemented simple XML-RPC call to check the database status
This can be used to check if the XML-RPC service have access to the database
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'rteval')
-rw-r--r-- | rteval/rtevalclient.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rteval/rtevalclient.py b/rteval/rtevalclient.py index b8bf8cd..190958b 100644 --- a/rteval/rtevalclient.py +++ b/rteval/rtevalclient.py @@ -46,6 +46,9 @@ class rtevalclient: def Hello(self): return self.srv.Hello(self.hostname) + def DatabaseStatus(self): + return self.srv.DatabaseStatus() + def SendReport(self, xmldoc): if xmldoc.type != 'document_xml': raise Exception, "Input is not XML document" |