projects
/
pgarchives.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
856863b
)
Remove spaces in messageids
author
Magnus Hagander
<magnus@hagander.net>
Tue, 20 Nov 2018 20:29:22 +0000
(21:29 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 20 Nov 2018 20:29:22 +0000
(21:29 +0100)
They shouldn't be there in the first place. Sigh. But if they're there
just pretend they don't exist, so we get a working messageid.
loader/lib/parser.py
patch
|
blob
|
blame
|
history
diff --git
a/loader/lib/parser.py
b/loader/lib/parser.py
index d0e53025c45a1b4a4d4dd5d1974610494b96850a..871cea78cb38d761008f93b3a63f596758f15001 100644
(file)
--- a/
loader/lib/parser.py
+++ b/
loader/lib/parser.py
@@
-343,7
+343,7
@@
class ArchivesParser(object):
log.status("Could not parse messageid '%s', ignoring it" % messageid)
return None
raise IgnorableException("Could not parse message id '%s'" % messageid)
- return m.groups(1)[0]
+ return m.groups(1)[0]
.replace(' ','')
# _date_multi_re = re.compile(' \((\w+\s\w+(\s+\w+)*|)\)$')
# Now using [^\s] instead of \w, to work with japanese chars