From: Joerg Jaspert Date: Wed, 28 Oct 2009 15:36:24 +0000 (+0100) Subject: Merge commit 'lamby/master' into merge X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a8a6edfad74150868322cdc57e18b7454a584fcf;hp=9ed6fde4653fe17070892a6be3fccc755f9ca204;p=dak.git Merge commit 'lamby/master' into merge * commit 'lamby/master': Fix changes[...] call. Signed-off-by: Joerg Jaspert --- diff --git a/daklib/utils.py b/daklib/utils.py index 5bbd61a1..3305f695 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -528,7 +528,7 @@ def build_file_list(changes, is_a_dsc=0, field="files", hashname="md5sum"): raise NoFilesFieldError # Get SourceFormat object for this Format and validate it - format = get_format_from_string(changes.get['format']) + format = get_format_from_string(changes['format']) format.validate_format(is_a_dsc=is_a_dsc, field=field) includes_section = (not is_a_dsc) and field == "files"