def __cond_from_desc(desc):
<EOL>for code, [condition, detailed, exact, exact_nl] in __BRCONDITIONS.items():<EOL><INDENT>if exact_nl == desc:<EOL><INDENT>return {CONDCODE: code,<EOL>CONDITION: condition,<EOL>DETAILED: detailed,<EOL>EXACT: exact,<EOL>EXACTNL: exact_nl<EOL>}<EOL><DEDENT><DEDENT>return None<EOL>
Get the condition name from the condition description.