def _parse_inspection_output(self, output):
parts = {'<STR_LIT>': [], '<STR_LIT>': [], '<STR_LIT>': []}<EOL>for line in output.splitlines():<EOL><INDENT>line = line.split('<STR_LIT:U+002C>')<EOL>if line[<NUM_LIT:2>].startswith('<STR_LIT>'):<EOL><INDENT>del line[<NUM_LIT:0>:<NUM_LIT:2>]<EOL>component = line[<NUM_LIT:0>]<EOL>if component == '<STR_LIT>':<EOL><INDENT>variable = {"<STR_LIT:name>": line[<NUM_LIT:1>], "<STR_LIT:value>": line[<NUM_LIT:2>]}<EOL>parts['<STR_LIT>'].append(variable)<EOL><DEDENT>elif component == '<STR_LIT>':<EOL><INDENT>builder = {"<STR_LIT:name>": line[<NUM_LIT:1>], "<STR_LIT:type>": line[<NUM_LIT:2>]}<EOL>parts['<STR_LIT>'].append(builder)<EOL><DEDENT>elif component == '<STR_LIT>':<EOL><INDENT>provisioner = {"<STR_LIT:type>": line[<NUM_LIT:1>]}<EOL>parts['<STR_LIT>'].append(provisioner)<EOL><DEDENT><DEDENT><DEDENT>return parts<EOL>
Parses the machine-readable output `packer inspect` provides.

        See the inspect method for more info.
        This has been tested vs. Packer v0.7.5