[blivet:master 03/13] Set child_factory_fstype to None in DeviceFactory
mulhern
amulhern at redhat.com
Fri Apr 25 12:54:22 UTC 2014
Otherwise, _get_child_factory_kwargs could raise an AttributeError in a
subclass where child_factory_fstype is undefined.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/devicefactory.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
index d96732b..2055f7f 100644
--- a/blivet/devicefactory.py
+++ b/blivet/devicefactory.py
@@ -212,6 +212,7 @@ class DeviceFactory(object):
"""
child_factory_class = None
+ child_factory_fstype = None
size_set_class = TotalSizeSet
def __init__(self, storage, size, disks, fstype=None, mountpoint=None,
--
1.8.3.1
More information about the anaconda-patches
mailing list