summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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