summaryrefslogtreecommitdiffstats
path: root/todo.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-14 07:53:59 +0000
committerMatt Wilson <msw@redhat.com>1999-09-14 07:53:59 +0000
commit641bd3d7c1d8042e83f313cbab66dbcded06a055 (patch)
treed40a4eaa29f644a5271627e3bbdfda5dd64e1ac0 /todo.py
parenta70f67b0ef101cd21da0322612648880d97219cd (diff)
downloadanaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.tar.gz
anaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.tar.xz
anaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.zip
fake stuff for upgrades
Diffstat (limited to 'todo.py')
-rw-r--r--todo.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/todo.py b/todo.py
index 49c335b84..fc4f76ddf 100644
--- a/todo.py
+++ b/todo.py
@@ -18,14 +18,14 @@ def _(x):
class FakeDDruid:
"""A disk druid looking thing for upgrades"""
def partitionList (self):
- return (None, self.partitions)
+ return (self.partitions, None)
def append (self, name, table):
for i in range (len (table)):
(type, sector, size) = table[i]
if size:
self.partitions.append ((name + str (i)),
- "Existing000" + len (self.partitions),
+ "Existing000" + str(len (self.partitions)),
type)
def __init__ (self):
self.partitions = []
@@ -937,7 +937,7 @@ class ToDo:
_("Searching for Red Hat Linux installations..."))
drives = self.drives.available ().keys ()
- todo.ddruid = FakeDDruid ()
+ self.ddruid = FakeDDruid ()
for drive in drives:
isys.makeDevInode(drive, '/tmp/' + drive)
@@ -946,7 +946,7 @@ class ToDo:
except SystemError:
pass
else:
- self.todo.ddruid.append (drive, table)
+ self.ddruid.append (drive, table)
for i in range (len (table)):
(type, sector, size) = table[i]
# 2 is ext2 in balkan speek