(name)
Returns the Logic that matches the provided name.
Returns the Logic that matches the provided name.
Returns the Logic that matches the provided name .
def get_logic_by_name(name):
    """Returns the Logic that matches the provided name."""
    for logic in LOGICS:
        if logic.name.lower() == name.lower(): return logic
    raise UndefinedLogicError(name)
def get_logic_by_name ( name ) : for logic in LOGICS : if logic . name . lower ( ) == name . lower ( ) : return logic raise UndefinedLogicError ( name )