diff options
Diffstat (limited to 'apps/patchwork/bin/parsemail.py')
-rwxr-xr-x | apps/patchwork/bin/parsemail.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/bin/parsemail.py b/apps/patchwork/bin/parsemail.py index c36dae4..52c85fe 100755 --- a/apps/patchwork/bin/parsemail.py +++ b/apps/patchwork/bin/parsemail.py @@ -140,7 +140,7 @@ def mail_headers(mail): def find_pull_request(content): git_re = re.compile('^The following changes since commit.*' + '^are available in the git repository at:\n' - '^\s*(git://[^\n]+)$', + '^\s*([\S]+://[^\n]+)$', re.DOTALL | re.MULTILINE) match = git_re.search(content) if match: |