[Yum-devel] [PATCH] Make "yum -q history addon-info last saved_tx" valid input for load-ts.

James Antill james at and.org
Thu Aug 4 14:06:45 UTC 2011


---
 output.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/output.py b/output.py
index da34382..00e0e6f 100755
--- a/output.py
+++ b/output.py
@@ -2349,12 +2349,12 @@ to exit.
         
         for item in extcmds[2:]:
             if item in addon_info:
-                print '%s:' % item
-                print self.history.return_addon_data(hist_data.tid, item)
+                self.verbose_logger.log(logginglevels.INFO_2, '%s:', item)
+                print self.history.return_addon_data(hist_data.tid, item),
+                self.verbose_logger.log(logginglevels.INFO_2, '')
             else:
                 print _('%s: No additional data found by this name') % item
-
-            print ''
+            self.verbose_logger.log(logginglevels.INFO_2, '')
 
     def historyPackageListCmd(self, extcmds):
         """Print a list of information about transactions from history
-- 
1.7.6



More information about the Yum-devel mailing list