]> git.donarmstrong.com Git - dak.git/commitdiff
I hate it when Ganneff is right
authorMark Hymers <mhy@debian.org>
Sat, 16 Aug 2008 03:48:55 +0000 (03:48 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 16 Aug 2008 03:48:55 +0000 (03:48 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/utils.py

index 3d117d041a1c3b841faaf9efa02936667f68a713..b7d59e158fd54202bef36cb7180b95018a57366b 100755 (executable)
@@ -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