From 046f5342f8f433321e08049e5d88a94f7cf52eea Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Apr 2010 09:22:02 -0700 Subject: [PATCH] Make RebuiltBinaries only select binary packages with non-empty BUILD_TIME. --- pym/portage/sets/dbapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/sets/dbapi.py b/pym/portage/sets/dbapi.py index 5bd7e1688..2ba7b6c80 100644 --- a/pym/portage/sets/dbapi.py +++ b/pym/portage/sets/dbapi.py @@ -328,7 +328,7 @@ class RebuiltBinaries(EverythingSet): bin_build_time, = self._bindb.aux_get(cpv, self._aux_keys) except KeyError: return False - return inst_build_time != bin_build_time + return bool(bin_build_time and (inst_build_time != bin_build_time)) def singleBuilder(cls, options, settings, trees): return RebuiltBinaries(trees["vartree"].dbapi, -- 2.26.2