From: Ansgar Burchardt Date: Sun, 26 May 2013 01:43:23 +0000 (+0200) Subject: stop using deprecated methods from apt_pkg X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d826b9bb48d96b366154dfbb6a40a87171f0e8;p=dak stop using deprecated methods from apt_pkg One occurence of apt_pkg.TagFile's Step() method was missed in 52c35949e1e7948a29133ffc9b24897d66af23c1. --- diff --git a/dak/check_archive.py b/dak/check_archive.py index 5265cc50..6f16aecc 100755 --- a/dak/check_archive.py +++ b/dak/check_archive.py @@ -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)