def filter_solvers(solvers, requirements):
for solver in solvers:<EOL><INDENT>for req, value in iteritems(requirements):<EOL><INDENT>if (req in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:name>') and<EOL>(req not in solver or solver[req] != value)):<EOL><INDENT>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>yield solver<EOL><DEDENT><DEDENT>
Yield solvers that fullfil the requirements.