]> git.donarmstrong.com Git - dak.git/commitdiff
dak/check_archive.py: multi-archive adjustment for check_checksums()
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 26 May 2013 01:49:18 +0000 (03:49 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 26 May 2013 01:50:29 +0000 (03:50 +0200)
Locations went away with the multi-archive changes, but
check_checksums() was still using them.

Reported-by: Matthias Klumpp <mak@debian.org>
dak/check_archive.py

index 6f16aecc8c89a6f1cd6ef6ab6691eda824bc7a22..926b4fb5009cf18a36ea34c8bb4f4165a7a58731 100755 (executable)
@@ -274,7 +274,7 @@ def check_checksums():
 
     print "Checking file checksums & sizes..."
     for f in q:
-        filename = os.path.abspath(os.path.join(f.location.path, f.filename))
+        filename = f.fullpath
 
         try:
             fi = utils.open_file(filename)