[rhel5-branch] Make sure fstype exists before we try to test it (#473498).

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

 



From: Chris Lumens <clumens@xxxxxxxxxx>

---
 partedUtils.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/partedUtils.py b/partedUtils.py
index 147c2f8..239ff1a 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -899,6 +899,8 @@ class DiskSet:
                     theDev = node
                     if part.fs_type:
                         fstype = part.fs_type.name
+                    else:
+                        fstype = None
 
                     # parted doesn't tell ext4 from ext3 for us
                     if fstype == "ext3": 
-- 
1.7.5.4

_______________________________________________
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