Fix --print-nuninst + --nuninst-cache

Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
Niels Thykier 2016-11-22 20:55:48 +00:00
parent fd614062ae
commit 20f2e27873

View File

@ -272,6 +272,7 @@ class Britney(object):
if self.options.nuninst_cache:
self.log("Not building the list of non-installable packages, as requested", type="I")
if self.options.print_uninst:
nuninst = self.get_nuninst(build=False)
print('* summary')
print('\n'.join('%4d %s' % (len(nuninst[x]), x) for x in self.options.architectures))
return