[Yum-devel] [PATCH 2/2] Fix history recording installs, from the txmbr cleanup

seth vidal skvidal at fedoraproject.org
Wed Jun 16 04:37:30 UTC 2010


On Tue, 2010-06-15 at 19:27 -0400, James Antill wrote:
> ---
>  yum/history.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/yum/history.py b/yum/history.py
> index a676773..ca87335 100644
> --- a/yum/history.py
> +++ b/yum/history.py
> @@ -343,7 +343,7 @@ class YumHistory:
>      def txmbr2state(txmbr):
>          state = None
>          if txmbr.output_state in (TS_INSTALL, TS_TRUEINSTALL):
> -            if hasattr(txmbr, 'reinstall'):
> +            if txmbr.reinstall:
>                  state = 'Reinstall'
>              elif txmbr.downgrades:
>                  state = 'Downgrade'

ACK
-sv




More information about the Yum-devel mailing list