]> git.decadent.org.uk Git - dak.git/blobdiff - dak/check_archive.py
Adjust to deal with the new Debian supplementaryGid
[dak.git] / dak / check_archive.py
index 5265cc50b9977d6ed1591d8771b36c1d92d402db..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)
@@ -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)