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

seth vidal skvidal at fedoraproject.org
Thu Aug 4 20:51:36 UTC 2011


On Thu, 2011-08-04 at 10:06 -0400, James Antill wrote:
> ---
>  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

ACK
-sv




More information about the Yum-devel mailing list