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 02-20-2009, 07:21 PM
Chris Lumens
 
Default Don't check for a swapfs on things that aren't partitions (#485977).

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

diff --git a/partIntfHelpers.py b/partIntfHelpers.py
index 0c6541c..13c8722 100644
--- a/partIntfHelpers.py
+++ b/partIntfHelpers.py
@@ -402,7 +402,7 @@ def checkForSwapNoMatch(anaconda):
diskset = anaconda.id.diskset

for request in anaconda.id.partitions.requests:
- if not request.dev or not request.fstype:
+ if not hasattr(request, "drive") or not request.fstype:
continue

for drive in request.drive:
--
1.6.0.3

_______________________________________________
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 09:55 PM.

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