summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-31 23:03:26 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-31 23:03:26 +0000
commit09b8626cf66f7877b3204d228baf968d8496e8ad (patch)
tree5c34b02d8a02298ec3c75f647d2ca18882b88af8
parent293f8b4b31911a76cef4bd741ac491991435d8bd (diff)
downloadanaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.tar.gz
anaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.tar.xz
anaconda-09b8626cf66f7877b3204d228baf968d8496e8ad.zip
add some debugging to try to find notting's bogon
-rw-r--r--partedUtils.py5
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: