This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 4f86ff9  OF: months are optional in pipermail summaries
4f86ff9 is described below

commit 4f86ff9fbe013dd53dae8f3ce801ab7e5027a81e
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Feb 17 15:02:29 2021 +0100

    OF: months are optional in pipermail summaries
---
 tools/import-mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 21ca9ba..dee1e18 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -655,7 +655,7 @@ if re.match(r"https?://", source):
                 "You need to specify a list ID with --lid when importing from 
Pipermail!"
             )
             sys.exit(-1)
-        ns = r"href=\"(\d+-[a-zA-Z]+\.txt(\.gz)?)\""
+        ns = r"href=\"(\d+(?:-[a-zA-Z]+)?\.txt(\.gz)?)\""
         qn = 0
         for mlist in re.finditer(ns, data):
             ml = mlist.group(1)

Reply via email to