[PATCH] Don't check for a swapfs on things that aren't partitions (#485977).

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

 



---
 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@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