[blivet][master] drop useless entries from formatByDefault exceptlist
Adam Williamson
awilliam at redhat.com
Thu Jan 22 21:15:29 UTC 2015
These will never match, as the 'exceptlist' is only used to
except devices whose mountpoint starts with one of the
'formatlist' entries, and / is not in 'formatlist'.
---
blivet/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index 88809fb..691e45c 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -1369,7 +1369,7 @@ class Blivet(object):
def formatByDefault(self, device):
"""Return whether the device should be reformatted by default."""
formatlist = ['/boot', '/var', '/tmp', '/usr']
- exceptlist = ['/home', '/usr/local', '/opt', '/var/www']
+ exceptlist = ['/usr/local', '/var/www']
if not device.format.linuxNative:
return False
--
2.2.1
More information about the anaconda-patches
mailing list