]> git.decadent.org.uk Git - dak.git/commitdiff
Merge commit 'lamby/master' into merge
authorJoerg Jaspert <joerg@debian.org>
Wed, 28 Oct 2009 15:36:24 +0000 (16:36 +0100)
committerJoerg Jaspert <joerg@debian.org>
Wed, 28 Oct 2009 15:36:24 +0000 (16:36 +0100)
* commit 'lamby/master':
  Fix changes[...] call.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
daklib/utils.py

index 5bbd61a1492ae17db0ff36292ec51044e0feb43e..3305f695ac4faab639dad148b95f8493b83da8b7 100755 (executable)
@@ -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"