diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-31 23:03:26 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-31 23:03:26 +0000 |
commit | 09b8626cf66f7877b3204d228baf968d8496e8ad (patch) | |
tree | 5c34b02d8a02298ec3c75f647d2ca18882b88af8 | |
parent | 293f8b4b31911a76cef4bd741ac491991435d8bd (diff) | |
download | anaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.tar.gz anaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.tar.xz anaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.zip |
add some debugging to try to find notting's bogon
-rw-r--r-- | partedUtils.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/partedUtils.py b/partedUtils.py index 670fa9a56..1399d84d9 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -452,6 +452,7 @@ def getRedHatReleaseString(mountpoint): def productMatches(oldproduct, newproduct): """Determine if this is a reasonable product to upgrade old product""" if oldproduct.startswith(newproduct): + log("old matches new (%s:%s)" %(oldproduct, newproduct)) return 1 productUpgrades = { @@ -472,8 +473,12 @@ def productMatches(oldproduct, newproduct): for p in acceptable: if oldproduct.startswith(p): + log("old matches acceptable (%s:%s - %s:%s)" %(oldproduct, + newproduct, p, + acceptable)) return 1 + log("old doesn't match: (%s:%s)" %(oldproduct,newproduct)) return 0 class DiskSet: |