diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-02-12 09:58:22 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-02-12 11:30:50 -1000 |
commit | 4dd3e4a3e98825c1d542bb03a58724a2db098765 (patch) | |
tree | 7b886e03e469780b8735cb52cfb5f11337f2febb /packages.py | |
parent | eeed969cbe7b8fb12d3ab70c772817de1407f460 (diff) | |
download | anaconda-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.py | 2 |
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): |