[blivet:master 2/6] Change allowDirty to False (from None).

mulhern amulhern at redhat.com
Wed Dec 17 14:33:44 UTC 2014


It is only used as a bool in the method, and the only invocation I can
find (in anaconda) overrides None w/ True.

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

diff --git a/blivet/__init__.py b/blivet/__init__.py
index 210d3c6..4977790 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -2051,7 +2051,7 @@ class Blivet(object):
         self.fsset.setFstabSwaps(devices)
 
 def mountExistingSystem(fsset, rootDevice,
-                        allowDirty=None, dirtyCB=None,
+                        allowDirty=False, dirtyCB=None,
                         readOnly=None):
     """ Mount filesystems specified in rootDevice's /etc/fstab file. """
     rootPath = _sysroot
-- 
1.9.3



More information about the anaconda-patches mailing list