From 15da8c6da33b571e694726b9e63d930d80c7abeb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 15 Feb 2020 13:22:13 +0100 Subject: Support reading project names with spaces --- extras/autoship.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/autoship.py b/extras/autoship.py index 1b817dd..f716e16 100755 --- a/extras/autoship.py +++ b/extras/autoship.py @@ -107,7 +107,7 @@ def read_text_news(in_file, preserve_timezones=False, dist_pattern=None): while True: # Read header line head = f.readline() - matches = re.match(r"([^ ]*) \((.*)\) ([a-zA-z]*)", head) + matches = re.match(r"([^(]*) \(([0-9.]*)\) ([a-zA-z]*)", head) if matches is None: break -- cgit v1.2.1