[dak/master] I hate it when Ganneff is right
Signed-off-by: Mark Hymers <mhy@debian.org>
---
daklib/utils.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index 3d117d0..b7d59e1 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
--
1.5.6.3
Reply to: