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


_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to