summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.py b/upgrade.py
index fe1c6f05a..a6ec212d6 100644
--- a/upgrade.py
+++ b/upgrade.py
@@ -50,7 +50,7 @@ def findExistingRoots (intf, id, chroot):
def mountRootPartition(intf, rootInfo, oldfsset, instPath, allowDirty = 0,
raiseErrors = 0):
- (root, rootFs) = rootInfo
+ (root, rootFs) = rootInfo[0]
diskset = DiskSet()
diskset.openDevices()