def add(self, response, condition=None):
self._log.info('<STR_LIT>'.format(priority=response.priority))<EOL>if response.priority not in self._responses:<EOL><INDENT>self.sorted = False  <EOL>self._responses[response.priority] = []<EOL><DEDENT>if condition:<EOL><INDENT>self._log.debug('<STR_LIT>')<EOL>self._conditionals[response] = condition<EOL><DEDENT>self._responses[response.priority].append(response)<EOL>
Add a new Response object
:param response: The Response object
:type  response: parser.trigger.response.Response

:param condition: An optional Conditional statement for the Response
:type  condition: parser.condition.Condition or None