pool scanner update: we only ask for specific object types, so no need to filter the results anymore

This commit is contained in:
Analyst
2019-03-04 11:00:42 -06:00
parent e1701947f8
commit 901a38d40b
4 changed files with 8 additions and 12 deletions
@@ -53,9 +53,8 @@ class DriverScan(plugins.PluginInterface):
symbol_table,
constraints):
constraint, mem_object, _header = result
if constraint.object_type == "Driver":
yield mem_object
_constraint, mem_object, _header = result
yield mem_object
def _generator(self):
for driver in self.scan_drivers(self.context,