From d3d826b9bb48d96b366154dfbb6a40a87171f0e8 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 26 May 2013 03:43:23 +0200 Subject: [PATCH] stop using deprecated methods from apt_pkg One occurence of apt_pkg.TagFile's Step() method was missed in 52c35949e1e7948a29133ffc9b24897d66af23c1. --- dak/check_archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5