[master 7/10] Ensure format is a DeviceFormat during initialization.
dwlehman
installerbot-noreply at redhat.com
Mon Jul 20 21:39:28 UTC 2015
From: David Lehman <dlehman at redhat.com>
---
blivet/devices/storage.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices/storage.py b/blivet/devices/storage.py
index a54c32a..8872961 100644
--- a/blivet/devices/storage.py
+++ b/blivet/devices/storage.py
@@ -106,7 +106,7 @@ def __init__(self, name, fmt=None, uuid=None,
super(StorageDevice, self).__init__(name, parents=parents)
- self._format = None
+ self._format = getFormat(None)
# The size will be overridden by a call to updateSize at the end of this
# method for existing and active devices.
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/eab0a76548dde8e03ea50d51607e076eaee586b2
More information about the anaconda-patches
mailing list