From: Chris Lamb Date: Wed, 28 Oct 2009 20:21:37 +0000 (+0000) Subject: build_file_list(changes, ..) can also be dsc information \o/ X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=ff174ce6190b0df5ab2a3c9172927ba986238bd5;p=dak.git build_file_list(changes, ..) can also be dsc information \o/ Signed-off-by: Chris Lamb --- 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"