<s> """<STR_LIT>""" <EOL> from __future__ import print_function <EOL> import re <EOL> from . python import parse_traceback <EOL> COMMAND = "<STR_LIT>" <EOL> """<STR_LIT>""" <EOL> def parse ( lines ) : <EOL> """<STR_LIT>""" <EOL> results = [ ] <EOL> lines = iter ( lines ) <EOL> failure = re . compile ( r"<STR_LIT>" ) <EOL> for line in lines : <EOL> results . append ( line ) <EOL> if failure . match ( line ) : <EOL> results . extend ( <EOL> parse_traceback ( lines ) , <EOL> ) <EOL> return results </s>
