diff options
author | David Lehman <dlehman@redhat.com> | 2009-03-02 20:14:01 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2009-03-02 20:14:01 -0600 |
commit | ad0401b6317ce5516d78e0853f2f42887d10c9bb (patch) | |
tree | a81bcf1b3b756ef316eb2981e1e07bdbc5d07630 | |
parent | b8dcaee6959b8022e4a0ee155743c67f7d983a57 (diff) | |
download | anaconda-ad0401b6317ce5516d78e0853f2f42887d10c9bb.tar.gz anaconda-ad0401b6317ce5516d78e0853f2f42887d10c9bb.tar.xz anaconda-ad0401b6317ce5516d78e0853f2f42887d10c9bb.zip |
Make sure _name is None so _type gets used by name property.
-rw-r--r-- | storage/formats/swap.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/formats/swap.py b/storage/formats/swap.py index 4740f3ae3..e5dd8ef3d 100644 --- a/storage/formats/swap.py +++ b/storage/formats/swap.py @@ -38,6 +38,7 @@ log = logging.getLogger("storage") class SwapSpace(DeviceFormat): """ Swap space """ _type = "swap" + _name = None _udevTypes = ["swap"] partedFlag = PARTITION_SWAP _formattable = True # can be formatted |