def get_command_responses(self):
if not self.response_queue.empty():<EOL><INDENT>yield None<EOL><DEDENT>while not self.response_queue.empty():<EOL><INDENT>line = self.response_queue.get()<EOL>if line is not None:<EOL><INDENT>yield line<EOL><DEDENT><DEDENT>
Get responses to commands sent