summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-08-03 14:41:19 -0400
committerChris Lumens <clumens@redhat.com>2012-08-03 14:41:19 -0400
commit853c47b0e3f70d0031cc7d84deb34989e00d1790 (patch)
tree957027ac9161600457d5b2b463f4c432431a1691
parent1f4450ec94d2d6be2e82977d58524f29d83ec97c (diff)
downloadanaconda-853c47b0e3f70d0031cc7d84deb34989e00d1790.tar.gz
anaconda-853c47b0e3f70d0031cc7d84deb34989e00d1790.tar.xz
anaconda-853c47b0e3f70d0031cc7d84deb34989e00d1790.zip
Don't use "swap" as a variable name; it's already the name of a module.
-rw-r--r--pyanaconda/installclass.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
index de4259f46..cdef54215 100644
--- a/pyanaconda/installclass.py
+++ b/pyanaconda/installclass.py
@@ -117,8 +117,8 @@ class BaseInstallClass(object):
if bootreq:
autorequests.extend(bootreq)
- swap = swap.swapSuggestion()
- autorequests.append(PartSpec(fstype="swap", size=swap, grow=False,
+ swp = swap.swapSuggestion()
+ autorequests.append(PartSpec(fstype="swap", size=swp, grow=False,
lv=True, encrypted=True))
storage.autoPartitionRequests = autorequests