FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-25-2011, 03:03 PM
Martin Gracik
 
Default Make sure fstype exists before we try to test it (#473498).

From: Chris Lumens <clumens@redhat.com>

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 05:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org