stop using deprecated methods from apt_pkg

One occurence of apt_pkg.TagFile's Step() method was missed in
52c35949.
上级 64b9ab3d
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册