[PATCH 36/47] Pass a parted.FileSystem to parted.Partition.__init__()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 autopart.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/autopart.py b/autopart.py
index 6b5f887..648a1bb 100644
--- a/autopart.py
+++ b/autopart.py
@@ -478,8 +478,9 @@ def fitSized(diskset, requests, primOnly = 0, newParts = None):
             geometry = parted.Geometry(device=disk.device,
                                        start=startSec,
                                        end=endSec)
+            fs=parted.FileSystem(type=fsType.name, geometry=geometry)
             newp = parted.Partition(disk=disk, type=partType,
-                                    fs=fsType, geometry=geometry)
+                                    fs=fs, geometry=geometry)
             constraint = parted.Constraint(device=disk.device)
 
             try:
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux