(self, xml_line)
Generates a debug message by parsing the metadata on an XML line.
Generates a debug message by parsing the metadata on an XML line.
Generates a debug message by parsing the metadata on an XML line .
def _generate_debug_message_from_xml_line(self, xml_line):
    """Generates a debug message by parsing the metadata on an XML line."""
    metadata_match = _DEBUG_METADATA_SEARCH_PATTERN.search(xml_line)
    if metadata_match:
      elem_id = int(metadata_match.group(1))
      return self._generate_debug_message_from_element_id(elem_id)
    else:
      return ''
def _generate_debug_message_from_xml_line ( self , xml_line ) : metadata_match = _DEBUG_METADATA_SEARCH_PATTERN . search ( xml_line ) if metadata_match : elem_id = int ( metadata_match . group ( 1 ) ) return self . _generate_debug_message_from_element_id ( elem_id ) else : return ''