From 093a3ac28b6e5a5af4242fea3adad37e2cde9164 Mon Sep 17 00:00:00 2001 From: fling Date: Wed, 24 Nov 2010 17:31:13 +0800 Subject: [PATCH] modified: ri_func_dep.py funcation dependency make a raid --- interface/ri_func_dep.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/ri_func_dep.py b/interface/ri_func_dep.py index 9e29f9a..43940aa 100644 --- a/interface/ri_func_dep.py +++ b/interface/ri_func_dep.py @@ -63,7 +63,7 @@ class RAID(FunctionDepending): def check(self): if 'mdadm' not in Pkg.list: for i in ri_data.Raid.dict.values(): - if i.from_os == 'no': + if i.from_os == 'no' or i.from_os == 'yes': return False return True