third_party/blink/tools/blinkpy/web_tests/builder_list.py
def builder_name_for_port_name(self, target_port_name):
        """Returns a builder name for the given port name.

        Multiple builders can have the same port name; this function only
        returns builder names for non-try-bot builders, and it gives preference
        to non-debug builders. If no builder is found, None is returned.
        """
        debug_builder_name = None
        for builder_name, builder_info in list(self._builders.items()):
            if builder_info.get('is_try_builder'):
                continue
            if builder_info['port_name'] == target_port_name:
                if 'dbg' in builder_name:
                    debug_builder_name = builder_name
                else:
                    return builder_name
        return debug_builder_name
Returns a builder name for the given port name.

        Multiple builders can have the same port name; this function only
        returns builder names for non-try-bot builders, and it gives preference
        to non-debug builders. If no builder is found, None is returned.
        
Returns a builder name for the given port name.
Multiple builders can have the same port name; this function only
returns builder names for non-try-bot builders, and it gives preference
to non-debug builders. If no builder is found, None is returned.
Returns a builder name for the given port name . Multiple builders can have the same port name ; this function only returns builder names for non - try - bot builders and it gives preference to non - debug builders . If no builder is found None is returned .
def builder_name_for_port_name(self, target_port_name):
        debug_builder_name = None
        for builder_name, builder_info in list(self._builders.items()):
            if builder_info.get('is_try_builder'):
                continue
            if builder_info['port_name'] == target_port_name:
                if 'dbg' in builder_name:
                    debug_builder_name = builder_name
                else:
                    return builder_name
        return debug_builder_name
def builder_name_for_port_name ( self , target_port_name ) : debug_builder_name = None for builder_name , builder_info in list ( self . _builders . items ( ) ) : if builder_info . get ( 'is_try_builder' ) : continue if builder_info [ 'port_name' ] == target_port_name : if 'dbg' in builder_name : debug_builder_name = builder_name else : return builder_name return debug_builder_name
Returns a builder name for the given port name.
Returns a builder name for the given port name .
"""Returns a builder name for the given port name.

        Multiple builders can have the same port name; this function only
        returns builder names for non-try-bot builders, and it gives preference
        to non-debug builders. If no builder is found, None is returned.
        """
self
target_port_name