summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-02-15 13:22:13 +0100
committerDavid Robillard <d@drobilla.net>2020-02-15 13:22:13 +0100
commit15da8c6da33b571e694726b9e63d930d80c7abeb (patch)
tree09ee103ea201a4f620caef50e1fa2c2825218409
parent840098ff27e9ea68f0760a15954d8ae4407b541b (diff)
downloadautowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.tar.gz
autowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.tar.bz2
autowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.zip
Support reading project names with spaces
-rwxr-xr-xextras/autoship.py2
1 files changed, 1 insertions, 1 deletions
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