[blivet:master 01/11] Make default exists value a boolean in DeviceFormat.__init__.

mulhern amulhern at redhat.com
Tue Nov 25 23:22:37 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivet/formats/__init__.py b/blivet/formats/__init__.py
index 0d58ff4..907eb20 100644
--- a/blivet/formats/__init__.py
+++ b/blivet/formats/__init__.py
@@ -181,7 +181,7 @@ class DeviceFormat(ObjectID):
         ObjectID.__init__(self)
         self.device = kwargs.get("device")
         self.uuid = kwargs.get("uuid")
-        self.exists = kwargs.get("exists")
+        self.exists = kwargs.get("exists", False)
         self.options = kwargs.get("options")
 
         # don't worry about existence if this is a DeviceFormat instance
-- 
1.9.3



More information about the anaconda-patches mailing list