diff options
author | Brian C. Lane <bcl@redhat.com> | 2010-08-05 17:03:24 -0700 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2010-08-06 11:06:51 -0700 |
commit | 498636bfe37105a11e62f5a5e844094dc9b33b5c (patch) | |
tree | 3268b92d52ff77ee4ad24e18f99dc10a4131e449 /pyanaconda/installclasses/fedora.py | |
parent | 1cf0ab74176b8203ffb590c47c508716fb4a5727 (diff) | |
download | anaconda-498636bfe37105a11e62f5a5e844094dc9b33b5c.tar.gz anaconda-498636bfe37105a11e62f5a5e844094dc9b33b5c.tar.xz anaconda-498636bfe37105a11e62f5a5e844094dc9b33b5c.zip |
Don't complain about upgrading the same release (#620953)
When checking for the release allow equal versions to be upgraded.
Diffstat (limited to 'pyanaconda/installclasses/fedora.py')
-rw-r--r-- | 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 912d5e22c..a2d9a97ef 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) |