Re: [PATCH v2] parser: Fix parsing of pull request emails with CRLF line endings on Python 2

2018-01-29 Thread Daniel Axtens
Applied to master and stable/2.0 Regards, Daniel Daniel Axtens writes: > From: Andrew Donnellan > > When using Python 2, an incoming email that uses CRLF line endings won't > have the line endings converted by the email parser. This means that the > regex to detect pull request emails will fai

Re: [PATCH v2] parser: Fix parsing of pull request emails with CRLF line endings on Python 2

2018-01-28 Thread Daniel Axtens
Andrew Donnellan writes: > On 29/01/18 12:41, Daniel Axtens wrote: >> From: Andrew Donnellan >> >> When using Python 2, an incoming email that uses CRLF line endings won't >> have the line endings converted by the email parser. This means that the >> regex to detect pull request emails will fai

Re: [PATCH v2] parser: Fix parsing of pull request emails with CRLF line endings on Python 2

2018-01-28 Thread Andrew Donnellan
On 29/01/18 12:41, Daniel Axtens wrote: From: Andrew Donnellan When using Python 2, an incoming email that uses CRLF line endings won't have the line endings converted by the email parser. This means that the regex to detect pull request emails will fail to match. Clean up the line endings whe

[PATCH v2] parser: Fix parsing of pull request emails with CRLF line endings on Python 2

2018-01-28 Thread Daniel Axtens
From: Andrew Donnellan When using Python 2, an incoming email that uses CRLF line endings won't have the line endings converted by the email parser. This means that the regex to detect pull request emails will fail to match. Clean up the line endings when we extract the email body to fix this. (