[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH master f14-branch 2/2] Don't complain about upgrading the same release (#620953)



When checking for the release allow equal versions to be upgraded.
---
 pyanaconda/installclasses/fedora.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/installclasses/fedora.py b/pyanaconda/installclasses/fedora.py
index 912d5e2..a2d9a97 100644
--- a/pyanaconda/installclasses/fedora.py
+++ b/pyanaconda/installclasses/fedora.py
@@ -121,7 +121,7 @@ class InstallClass(BaseInstallClass):
 
         # This line means we do not support upgrading from anything older
         # than two versions ago!
-        return newVer > oldVer and newVer - oldVer <= 2
+        return newVer >= oldVer and newVer - oldVer <= 2
 
     def __init__(self):
 	BaseInstallClass.__init__(self)
-- 
1.7.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]