-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 > I also see that "cobbler system report --help" doesn't provide the
> extended options, but I am not as concerned with this.

I think part of the reason I didn't even look at this is because the
version of cobbler I was working on does not provide that functionality.

> 
> If you can see about addressing the bug above with "fields" and also the 
> extra debug output, I can look at applying this.
> 

These should be fixed with the patch attached.

AS
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFI0TLkECmX3C4JWKgRAiFSAKCVHN5YfkUpXxGe6kA/f9wdqUDEIwCgqoHL
BR+JIMF4nrb18jtB7PBBHT0=
=JbCJ
-----END PGP SIGNATURE-----
>From c606853afa9d0e8f62f961c5b8010f68a0e17bd3 Mon Sep 17 00:00:00 2001
From: Anderson Silva <[EMAIL PROTECTED]>
Date: Wed, 17 Sep 2008 12:27:15 -0400
Subject: [PATCH] fixes table and debug output report

---
 cobbler/action_report.py |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/cobbler/action_report.py b/cobbler/action_report.py
index b56e582..8fbf290 100644
--- a/cobbler/action_report.py
+++ b/cobbler/action_report.py
@@ -70,9 +70,6 @@ class Report:
         outputbody = ''
         sep = '||'
 
-        print info
-        print order
-
         info_count = 0
         for item in info:
             
@@ -232,7 +229,7 @@ class Report:
   
             data.append(item) 
 
-            self.print_formatted_data(data = data, order = out_order, report_type = report_type)
+        self.print_formatted_data(data = data, order = out_order, report_type = report_type)
         
         return True
     
@@ -263,7 +260,7 @@ class Report:
 
             data.append(item)
          
-            self.print_formatted_data(data = data, order = fields_list, report_type = report_type)
+        self.print_formatted_data(data = data, order = fields_list, report_type = report_type)
                         
         return True
         
-- 
1.5.4.1

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to