#NEWLINE# def _parse_line_ARTIFACT( self , parts ) : #NEWLINE# #INDENT# '\n        Parse line parts containing information about an artifact.\n\n        :param list parts: The parts of resulting from splitting a comma\n            separated packer output line.\n        ' #NEWLINE# artifact_type = parts [ 1 ] #NEWLINE# if ( parts [ 4 ] == 'end' ) : #NEWLINE# #INDENT# self . _current_artifact [ 'type' ] = artifact_type #NEWLINE# self . artifacts . append ( freeze ( self . _current_artifact ) ) #NEWLINE# self . _current_artifact = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# return #NEWLINE# #UNINDENT# key = parts [ 4 ] #NEWLINE# value = parts [ 5 : ] #NEWLINE# if ( len ( value ) == 1 ) : #NEWLINE# #INDENT# value = value [ 0 ] #NEWLINE# #UNINDENT# self . _current_artifact [ key ] = key