]> git.ozlabs.org Git - patchwork/blobdiff - apps/patchwork/bin/parsemail.py
parser: Account for mail client line wrapping in pull requests
[patchwork] / apps / patchwork / bin / parsemail.py
index 0a9daf541d6b8f5937639c6292dc70b28d199d00..1b7316935583e688957807250aab6d0826046fea 100755 (executable)
@@ -136,7 +136,7 @@ def mail_headers(mail):
                 for (k, v) in mail.items()])
 
 def find_pull_request(content):
-    git_re = re.compile('^The following changes since commit .*' +
+    git_re = re.compile('^The following changes since commit.*' +
                         '^are available in the git repository at:\n'
                         '^\s*(git://[^\n]+)$',
                            re.DOTALL | re.MULTILINE)