]> err.no Git - dak/commitdiff
cruft-report: check for rdeps of arch:all packages on all architectures
authorAdam D. Barratt <adam@adam-barratt.org.uk>
Tue, 1 Jan 2013 16:40:02 +0000 (16:40 +0000)
committerJoerg Jaspert <joerg@debian.org>
Tue, 1 Jan 2013 18:21:18 +0000 (19:21 +0100)
When checking for reverse dependencies of sourceless arch:all packages
only those rdeps which were also arch-indep were detected.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/cruft_report.py

index 98381bc1952fd6199aa32e1ea5cf21d157216543..6d7db38512fe7b2a061a83384ff89fe3d3d9445a 100755 (executable)
@@ -244,7 +244,7 @@ def reportWithoutSource(suite_name, suite_id, session, rdeps=False):
         print "    dak rm -m %s -s %s -a all -p -R -b %s" % \
             (message, suite_name, package)
         if rdeps:
-            if utils.check_reverse_depends([package], suite_name, ["all"], session, True):
+            if utils.check_reverse_depends([package], suite_name, [], session, True):
                 print
             else:
                 print "  - No dependency problem found\n"