summaryrefslogtreecommitdiffstats
path: root/textw/upgrade_text.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-01-07 09:56:31 -0500
committerChris Lumens <clumens@redhat.com>2009-01-07 09:57:24 -0500
commit381f98417d8d7880b33dc498e354843a722717d1 (patch)
tree858ddb0ea98711d50e292a5f0ef882a472f7b2e0 /textw/upgrade_text.py
parent3430f3062daa8c5b85c51030e628c9627b2e30ac (diff)
downloadanaconda-381f98417d8d7880b33dc498e354843a722717d1.tar.gz
anaconda-381f98417d8d7880b33dc498e354843a722717d1.tar.xz
anaconda-381f98417d8d7880b33dc498e354843a722717d1.zip
Update partedUtils.py:findExistingRootPartitions to return UUID (atodorov).
The attached patch updates findExistingRootPartitions to return dev, fs, release string, label and uuid and fixes all callers to use the 5 tuple. This is required so that later changes to upgrades functionality can fit better in the code. For more background see: https://www.redhat.com/archives/anaconda-devel-list/2008-December/msg00210.html
Diffstat (limited to 'textw/upgrade_text.py')
-rw-r--r--textw/upgrade_text.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py
index df79148f6..34c08238d 100644
--- a/textw/upgrade_text.py
+++ b/textw/upgrade_text.py
@@ -212,7 +212,7 @@ class UpgradeExamineWindow:
else:
default = 0
- for (drive, fs, desc, label) in parts:
+ for (drive, fs, desc, label, uuid) in parts:
if drive[:5] != "/dev/":
devname = "/dev/" + drive
else: