On 06/23/2016 12:38 AM, Zac Medico wrote: > @@ -2113,6 +2129,19 @@ class depgraph(object): > > self._dynamic_config._need_restart = True > > + def _upgrade_available(self, pkg): > + """ > + Detect cases where an upgrade of the given package is available > + within the same slot. > + """ > + available_pkg = None > + for available_pkg in self._iter_similar_available(pkg, > + pkg.slot_atom): > + if available_pkg >= pkg: > + return True > + > + return False > +
I've fixed this method to use the > operator instead of the >= operator. The latest version is in my branch here: https://github.com/zmedico/portage/tree/bug_584626 I've also opened this pull request so that travis runs the tests: https://github.com/gentoo/portage/pull/29 -- Thanks, Zac