From: Mark Hymers Date: Sat, 16 Aug 2008 03:48:55 +0000 (+0000) Subject: I hate it when Ganneff is right X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f74d4de704f3cccd45a491d45d5393c210e25c9b;p=dak.git I hate it when Ganneff is right Signed-off-by: Mark Hymers --- diff --git a/daklib/utils.py b/daklib/utils.py index 3d117d04..b7d59e15 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -285,7 +285,8 @@ def ensure_hashes(changes, dsc, files, dsc_files): fs_m = build_file_list(changes, 0) - fs_md = build_file_list(dsc, 1) + if "source" in changes["architecture"]: + fs_md = build_file_list(dsc, 1) # We have to calculate the hash if we have an earlier changes version than # the hash appears in rather than require it exist in the changes file