From 29d33b3185e2c26c5b305aa996137c73ed64333e Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 15 May 2014 20:30:31 +0200 Subject: [PATCH] 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 --- daklib/srcformats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.39.5