diff options
author | Chris Lumens <clumens@redhat.com> | 2009-02-20 15:14:54 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-02-20 16:39:14 -0500 |
commit | 7ae3f4042e2dc25f547eadef10b8e835cb7cbaf3 (patch) | |
tree | d286498d415a193802718e4f29420e2afdedbff1 /partIntfHelpers.py | |
parent | 788c927e042167f8fe1b66068a4640312a2f7b8b (diff) | |
download | anaconda-7ae3f4042e2dc25f547eadef10b8e835cb7cbaf3.tar.gz anaconda-7ae3f4042e2dc25f547eadef10b8e835cb7cbaf3.tar.xz anaconda-7ae3f4042e2dc25f547eadef10b8e835cb7cbaf3.zip |
Don't check for a swapfs on things that aren't partitions (#485977).
Diffstat (limited to 'partIntfHelpers.py')
-rw-r--r-- | partIntfHelpers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partIntfHelpers.py b/partIntfHelpers.py index 0c6541cda..13c87220d 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: |