--- a/sbsv2/raptor/python/filter_list.py Mon Apr 26 17:33:17 2010 +0100
+++ b/sbsv2/raptor/python/filter_list.py Wed Apr 28 01:01:42 2010 +0100
@@ -81,6 +81,7 @@
# Find all the filter plugins
self.pbox = pbox
possiblefilters = self.pbox.classesof(filter_interface.Filter)
+
filterdict = {}
for p in possiblefilters:
name = p.__name__.lower()
@@ -94,7 +95,7 @@
for f in filternames:
found = False
if f.lower() in filterdict:
- self.filters.append(filterdict[f.lower()])
+ self.filters.append(filterdict[f.lower()]())
else:
unfound.append(f)