From ff174ce6190b0df5ab2a3c9172927ba986238bd5 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 28 Oct 2009 20:21:37 +0000 Subject: [PATCH] build_file_list(changes, ..) can also be dsc information \o/ Signed-off-by: Chris Lamb --- daklib/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daklib/utils.py b/daklib/utils.py index b0b71c01..67ecc11a 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -529,7 +529,8 @@ def build_file_list(changes, is_a_dsc=0, field="files", hashname="md5sum"): raise NoFilesFieldError # Validate .changes Format: field - validate_changes_format(parse_format(changes['format']), field) + if not is_a_dsc: + validate_changes_format(parse_format(changes['format']), field) includes_section = (not is_a_dsc) and field == "files" -- 2.39.5