Merge branch 'stable' into latest

This commit is contained in:
Anand Doshi 2012-02-02 13:44:32 +05:30
commit 32e1fa22cd

View File

@ -54,7 +54,9 @@ class DocType(TransactionBase):
where name = %s where name = %s
""", self.doc.name) """, self.doc.name)
return '\n\n=== In response to ===\n\n' + tmp[0][0] response_title = "\n\n=== In response to ===\n\n"
return response_title + tmp[0][0].split(response_title)[0]
def make_response_record(self, response, from_email = None, content_type='text/plain'): def make_response_record(self, response, from_email = None, content_type='text/plain'):
""" """