summaryrefslogtreecommitdiffstats
path: root/storage/devicelibs
diff options
context:
space:
mode:
authorJoel Granados Moreno <jgranado@redhat.com>2009-04-07 15:00:09 +0200
committerJoel Granados Moreno <jgranado@redhat.com>2009-04-07 19:56:53 +0200
commitd42eef889b5416f89e3e9f7405fa886d90c6952f (patch)
tree6217173b172dcb2538fd9f53dcdd411227f21e42 /storage/devicelibs
parent93f1cb2a96841e5da50550671ec78bf7b4478005 (diff)
downloadanaconda-d42eef889b5416f89e3e9f7405fa886d90c6952f.tar.gz
anaconda-d42eef889b5416f89e3e9f7405fa886d90c6952f.tar.xz
anaconda-d42eef889b5416f89e3e9f7405fa886d90c6952f.zip
Make sure we have a clean lvm ignore list when we initialize.
This is good for when we go back and have to reset the devicetree.
Diffstat (limited to 'storage/devicelibs')
-rw-r--r--storage/devicelibs/lvm.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
index 452ccac2a..8cd6370f8 100644
--- a/storage/devicelibs/lvm.py
+++ b/storage/devicelibs/lvm.py
@@ -98,6 +98,11 @@ def lvm_cc_addFilterRejectRegexp(regexp):
# compoes config once more.
_composeConfig()
+
+def lvm_cc_resetFilter():
+ global config_args_data
+ config_args_data["filterRejects"] = []
+ config_args_data["filterAccepts"] = []
# End config_args handling code.
# Names that should not be used int the creation of VGs