From: Helmut Grohne Date: Thu, 15 May 2014 18:30:31 +0000 (+0200) Subject: tighten source format check for 1.0 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=29d33b3185e2c26c5b305aa996137c73ed64333e;p=dak.git tighten source format check for 1.0 The regular expression used a ".", so it would accept "1-0" or even "120" for source format 1.0. Signed-off-by: Helmut Grohne Signed-off-by: Helmut Grohne --- diff --git a/daklib/srcformats.py b/daklib/srcformats.py index 050691fe..accccae6 100644 --- a/daklib/srcformats.py +++ b/daklib/srcformats.py @@ -76,7 +76,7 @@ class FormatOne(SourceFormat): __metaclass__ = SourceFormat name = '1.0' - format = r'1.0' + format = r'1\.0' requires = () disallowed = ('debian_tar', 'more_orig_tar')