src/dirbs/reports/stats_generator.py
def _sort_conditions(condition_tuples):
    """Sorts a list of condition_name, blocking tuples into the order expected by the report."""
    # Input format is (name, blocking) -> This put blocking conditions first, then sorts by name
    condition_tuples = sorted(condition_tuples, key=attrgetter('label'))
    condition_tuples = sorted(condition_tuples, key=attrgetter('blocking'), reverse=True)
    return condition_tuples
Sorts a list of condition_name, blocking tuples into the order expected by the report.
Sorts a list of condition_name, blocking tuples into the order expected by the report.
Sorts a list of condition_name blocking tuples into the order expected by the report .
def _sort_conditions(condition_tuples):
    condition_tuples = sorted(condition_tuples, key=attrgetter('label'))
    condition_tuples = sorted(condition_tuples, key=attrgetter('blocking'), reverse=True)
    return condition_tuples
def _sort_conditions ( condition_tuples ) : condition_tuples = sorted ( condition_tuples , key = attrgetter ( 'label' ) ) condition_tuples = sorted ( condition_tuples , key = attrgetter ( 'blocking' ) , reverse = True ) return condition_tuples
Sorts a list of condition_name, blocking tuples into the order expected by the report.
Sorts a list of condition_name blocking tuples into the order expected by the report .
"""Sorts a list of condition_name, blocking tuples into the order expected by the report.""" # Input format is (name, blocking) -> This put blocking conditions first, then sorts by name
condition_tuples