---
 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'
-- 
1.7.0.1

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

Reply via email to