def _parse_line_ARTIFACT(self, parts):
        artifact_type = parts[1]
        if parts[4] == 'end':
            self._current_artifact['type'] = artifact_type
            self.artifacts.append(freeze(self._current_artifact))
            self._current_artifact = {}
            return
        key = parts[4]
        value = parts[5:]
        if len(value) == 1:
            value = value[0]
        self._current_artifact[key] = value
Parse line parts containing information about an artifact.
dataset/ETHPy150Open ClusterHQ/flocker/admin/installer/_images.py/_PackerOutputParser._parse_line_ARTIFACT