[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Don't check for a swapfs on things that aren't partitions (#485977).
- From: Chris Lumens <clumens redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Don't check for a swapfs on things that aren't partitions (#485977).
- Date: Fri, 20 Feb 2009 15:21:50 -0500
---
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]