diff mbox

[2/3] virt.virt_utils: Get rid of create_report function

Message ID 1304017734-15836-3-git-send-email-lmr@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lucas Meneghel Rodrigues April 28, 2011, 7:08 p.m. UTC
As it has been transfered to the html_report module itself.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/virt/virt_utils.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
diff mbox

Patch

diff --git a/client/virt/virt_utils.py b/client/virt/virt_utils.py
index 97a652d..8fa64ca 100644
--- a/client/virt/virt_utils.py
+++ b/client/virt/virt_utils.py
@@ -1187,18 +1187,6 @@  def run_tests(parser, job):
     return not failed
 
 
-def create_report(report_dir, results_dir):
-    """
-    Creates a neatly arranged HTML results report in the results dir.
-
-    @param report_dir: Directory where the report script is located.
-    @param results_dir: Directory where the results will be output.
-    """
-    reporter = os.path.join(report_dir, 'html_report.py')
-    html_file = os.path.join(results_dir, 'results.html')
-    os.system('%s -r %s -f %s -R' % (reporter, results_dir, html_file))
-
-
 def display_attributes(instance):
     """
     Inspects a given class instance attributes and displays them, convenient