summaryrefslogtreecommitdiffstats
path: root/partedUtils.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-11-20 17:30:44 +0000
committerMatt Wilson <msw@redhat.com>2002-11-20 17:30:44 +0000
commite3648f9819afa890f70011e541f3423a1a4c8b7a (patch)
treef0b06d79e5a000f1da8962bad9ba26a9c97108b3 /partedUtils.py
parentc7e5d09b0f1a471b95011767328130501afd8432 (diff)
downloadanaconda-e3648f9819afa890f70011e541f3423a1a4c8b7a.tar.gz
anaconda-e3648f9819afa890f70011e541f3423a1a4c8b7a.tar.xz
anaconda-e3648f9819afa890f70011e541f3423a1a4c8b7a.zip
fix freespace partitioning (#78196)
Diffstat (limited to 'partedUtils.py')
-rw-r--r--partedUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py
index bbb56d227..c834c8b53 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -509,7 +509,7 @@ class DiskSet:
newp = disk.partition_new (type, spec.fs_type,
part.geom.start,
part.geom.start + spec.size)
- constraint = disk.constraint_any ()
+ constraint = disk.dev.constraint_any ()
try:
disk.add_partition (newp, constraint)
status = 1