diff options
author | David Robillard <d@drobilla.net> | 2020-02-15 13:22:13 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-15 13:22:13 +0100 |
commit | 15da8c6da33b571e694726b9e63d930d80c7abeb (patch) | |
tree | 09ee103ea201a4f620caef50e1fa2c2825218409 /extras | |
parent | 840098ff27e9ea68f0760a15954d8ae4407b541b (diff) | |
download | autowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.tar.gz autowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.tar.bz2 autowaf-15da8c6da33b571e694726b9e63d930d80c7abeb.zip |
Support reading project names with spaces
Diffstat (limited to 'extras')
-rwxr-xr-x | extras/autoship.py | 2 |
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 |