diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-14 07:53:59 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-14 07:53:59 +0000 |
commit | 641bd3d7c1d8042e83f313cbab66dbcded06a055 (patch) | |
tree | d40a4eaa29f644a5271627e3bbdfda5dd64e1ac0 /todo.py | |
parent | a70f67b0ef101cd21da0322612648880d97219cd (diff) | |
download | anaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.tar.gz anaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.tar.xz anaconda-641bd3d7c1d8042e83f313cbab66dbcded06a055.zip |
fake stuff for upgrades
Diffstat (limited to 'todo.py')
-rw-r--r-- | todo.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |