]> git.decadent.org.uk Git - dak.git/commitdiff
cruft_report: Hack: skip debian-installer on kfreebsd
authorFrank Lichtenheld <djpig@debian.org>
Tue, 7 Apr 2009 22:51:52 +0000 (22:51 +0000)
committerFrank Lichtenheld <djpig@debian.org>
Tue, 7 Apr 2009 22:51:52 +0000 (22:51 +0000)
Doesn't exist yet.

dak/cruft_report.py

index b2b5836e70f29c743b3fb5401c083c282da0185d..4c6d323e82c1d380e3e1f8c8c4f537c499491d5d 100755 (executable)
@@ -428,6 +428,8 @@ def main ():
     for component in check_components:
         architectures = filter(utils.real_arch, database.get_suite_architectures(suite))
         for architecture in architectures:
+           if component == 'main/debian-installer' and re.match("kfreebsd", architecture):
+               continue
             filename = "%s/dists/%s/%s/binary-%s/Packages.gz" % (Cnf["Dir::Root"], suite, component, architecture)
             # apt_pkg.ParseTagFile needs a real file handle
             (fd, temp_filename) = utils.temp_filename()