summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/sets/dbapi.py2
1 files changed, 1 insertions, 1 deletions
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,