summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-02-12 09:58:22 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-02-12 11:30:50 -1000
commit4dd3e4a3e98825c1d542bb03a58724a2db098765 (patch)
tree7b886e03e469780b8735cb52cfb5f11337f2febb /packages.py
parenteeed969cbe7b8fb12d3ab70c772817de1407f460 (diff)
downloadanaconda-4dd3e4a3e98825c1d542bb03a58724a2db098765.tar.gz
anaconda-4dd3e4a3e98825c1d542bb03a58724a2db098765.tar.xz
anaconda-4dd3e4a3e98825c1d542bb03a58724a2db098765.zip
Use parted.Disk.getPartitionByPath()
Removed the parted.getPartitionByName() function. There is now a method on parted.Disk called getPartitionByPath() which provides the same functionality, but only works on a single Disk.
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index 7478c10c0..f871c49f8 100644
--- a/packages.py
+++ b/packages.py
@@ -134,7 +134,7 @@ def turnOnFilesystems(anaconda):
stdout = "/dev/tty5", stderr="/dev/tty5",
searchPath = 1)
anaconda.id.partitions.doMetaDeletes(anaconda.id.diskset)
- anaconda.id.fsset.setActive(anaconda.id.diskset)
+ anaconda.id.fsset.setActive(anaconda.id.diskset, anaconda.id.partitions.requests)
try:
anaconda.id.fsset.shrinkFilesystems(anaconda.id.diskset, anaconda.rootPath)
except fsset.ResizeError, (e, dev):