diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-07-20 22:20:57 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-07-20 22:20:57 +0000 |
commit | b36d92ccc44ed0621dbd479a1d44d9e09728c579 (patch) | |
tree | 4a1414046d839f7480a984494ff2b397afecb153 /partedUtils.py | |
parent | b95448e4a5eb0a749bb6d6b3b61c56aaedbda7e2 (diff) | |
download | anaconda-b36d92ccc44ed0621dbd479a1d44d9e09728c579.tar.gz anaconda-b36d92ccc44ed0621dbd479a1d44d9e09728c579.tar.xz anaconda-b36d92ccc44ed0621dbd479a1d44d9e09728c579.zip |
2006-07-20 Jeremy Katz <katzj@redhat.com>
* partedUtils.py (DiskSet.startAllRaid): Calling refreshDevices()
here totally breaks adding partitions... not sure what the intent
was, but needs to be handled differently. (#199459)
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/partedUtils.py b/partedUtils.py index 4d9e90c89..5734644ce 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -614,7 +614,7 @@ class DiskSet: for m in mp.members: disk = m.split('/')[-1] testList.append(disk) - self.refreshDevices() +# self.refreshDevices() if startMdRaid: if self.dmList is None: @@ -624,13 +624,13 @@ class DiskSet: if isinstance(m, block.RaidDev): disk = m.rd.device.path.split('/')[-1] testList.append(disk) - self.refreshDevices() +# self.refreshDevices() if startMdRaid: driveList = filter(lambda x: x not in testList, self.driveList()) DiskSet.mdList.extend(raid.startAllRaid(driveList)) - self.refreshDevices() +# self.refreshDevices() def stopMPath(self): """Stop all of the MPaths associated with the DiskSet.""" |