diff options
author | David Sommerseth <davids@redhat.com> | 2013-01-04 17:48:29 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2013-01-04 17:48:29 +0100 |
commit | 7fc158c87fb3c1b0720c23afd4a205c20b7932ec (patch) | |
tree | f4884758bc4913ef86d1da2f82dbe46075e4d64a | |
parent | 8c7477a341863b760c7f4d1064d3d964049bc993 (diff) | |
download | rteval-7fc158c87fb3c1b0720c23afd4a205c20b7932ec.tar.gz |
Make rtevaReport::_XMLreport() publicly available
This also renames the _XMLreport() method to GetXMLreport()
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r-- | rteval/__init__.py | 3 | ||||
-rw-r--r-- | rteval/rtevalReport.py | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/rteval/__init__.py b/rteval/__init__.py index a876170..09c68ad 100644 --- a/rteval/__init__.py +++ b/rteval/__init__.py @@ -263,9 +263,8 @@ class RtEval(rtevalReport): # if --xmlrpc-submit | -X was given, send our report to the given host if self.__xmlrpc: - retvalres = self.__xmlrpc.SendReport(self._XMLreport()) + retvalres = self.__xmlrpc.SendReport(self.GetXMLreport()) self._sysinfo.copy_dmesg(self.__reportdir) self._tar_results() return rtevalres - diff --git a/rteval/rtevalReport.py b/rteval/rtevalReport.py index d73c063..13eea24 100644 --- a/rteval/rtevalReport.py +++ b/rteval/rtevalReport.py @@ -87,7 +87,7 @@ class rtevalReport(object): self.__xmlreport.Write("-", xslt_tpl) - def _XMLreport(self): + def GetXMLreport(self): "Retrieves the complete rteval XML report as a libxml2.xmlDoc object" return self.__xmlreport.GetXMLdocument() |