X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcheck_archive.py;h=926b4fb5009cf18a36ea34c8bb4f4165a7a58731;hb=5a61a05250b1bf5d54661103e8999eb7c7fc9207;hp=5265cc50b9977d6ed1591d8771b36c1d92d402db;hpb=52c35949e1e7948a29133ffc9b24897d66af23c1;p=dak.git diff --git a/dak/check_archive.py b/dak/check_archive.py index 5265cc50..926b4fb5 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -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) @@ -433,7 +433,7 @@ def validate_packages(suite, component, architecture): sys.exit(result) packages = utils.open_file(temp_filename) Packages = apt_pkg.TagFile(packages) - while Packages.Step(): + while Packages.step(): filename = "%s/%s" % (Cnf["Dir::Root"], Packages.section.find('Filename')) if not os.path.exists(filename): print "W: %s missing." % (filename)