read hints earlier

This allow to do quicker test of the code that reads the hints.

Signed-off-by: Niels Thykier <niels@thykier.net>
debian
Ivo De Decker 11 years ago committed by Niels Thykier
parent 581204696c
commit cd242ff453

@ -256,6 +256,7 @@ class Britney(object):
apt_pkg.init() apt_pkg.init()
self.sources = {} self.sources = {}
self.binaries = {} self.binaries = {}
self.hints = self.read_hints(self.options.unstable)
if self.options.nuninst_cache: if self.options.nuninst_cache:
self.__log("Not building the list of non-installable packages, as requested", type="I") self.__log("Not building the list of non-installable packages, as requested", type="I")
@ -324,7 +325,6 @@ class Britney(object):
# read additional data # read additional data
self.dates = self.read_dates(self.options.testing) self.dates = self.read_dates(self.options.testing)
self.urgencies = self.read_urgencies(self.options.testing) self.urgencies = self.read_urgencies(self.options.testing)
self.hints = self.read_hints(self.options.unstable)
self.excuses = [] self.excuses = []
self.dependencies = {} self.dependencies = {}

Loading…
Cancel
Save