From 74d9493b5159578a36d907b250ada4661603d715 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 28 Oct 2009 15:35:41 +0000 Subject: [PATCH] Fix changes[...] call. Signed-off-by: Chris Lamb --- daklib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.2