'Process a line quoted with an AUTOTEST_STATUS flag. If the
tag is blank then we want to push out all the data we\'ve been
building up in self.logs, and then the newest line. If the
tag is not blank, then push the line into the logs for handling
later.'

def _process_quoted_line(self, tag, line):

    entry = base_job.status_log_entry.parse(line)
    if (entry is None):
        return
    if (tag == ''):
        self._process_logs()
        self.job.record_entry(entry, log_in_subdir=False)
        self.last_line = line
    else:
        tag_parts = [int(x) for x in tag.split('.')]
        log_dict = self.logs
        for part in tag_parts:
            log_dict = log_dict.setdefault(part, {})
        log_list = log_dict.setdefault('logs', [])
        log_list.append(entry)
