提交 0a4c0c8b 编写于 作者: A Anthony Towns

process_unchecked: fix bug when dealing with unrecognised file types in .dsc Files:

上级 7aac641c
...@@ -757,6 +757,7 @@ def check_dsc(): ...@@ -757,6 +757,7 @@ def check_dsc():
m = daklib.utils.re_issource.match(f) m = daklib.utils.re_issource.match(f)
if not m: if not m:
reject("%s: %s in Files field not recognised as source." % (dsc_filename, f)) reject("%s: %s in Files field not recognised as source." % (dsc_filename, f))
continue
type = m.group(3) type = m.group(3)
if type == "orig.tar.gz" or type == "tar.gz": if type == "orig.tar.gz" or type == "tar.gz":
has_tar = 1 has_tar = 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册