[PATCH 4/5] Use True instead of 1 for the dmraid flag default value

Martin Kolman mkolman at redhat.com
Wed Jun 11 13:56:28 UTC 2014


The argument parser dmraid options return either True or False anyway
and all newly added flags & all flags in Blivet also use booleans.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 pyanaconda/flags.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index 4c74b24..6a74003 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -49,7 +49,7 @@ class Flags(object):
         self.usevnc = 0
         self.vncquestion = True
         self.mpath = 1
-        self.dmraid = 1
+        self.dmraid = True
         self.selinux = SELINUX_DEFAULT
         self.debug = 0
         self.targetarch = None
-- 
1.9.3



More information about the anaconda-patches mailing list