* [gentoo-commits] portage r10985 - main/trunk/pym/_emerge
@ 2008-07-08 10:49 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-07-08 10:49 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-07-08 10:49:02 +0000 (Tue, 08 Jul 2008)
New Revision: 10985
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
Fix ValueError triggered when Scheduler._choose_pkg() doesn't find a package
and returns None.
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-07-08 10:28:43 UTC (rev 10984)
+++ main/trunk/pym/_emerge/__init__.py 2008-07-08 10:49:02 UTC (rev 10985)
@@ -8101,7 +8101,8 @@
chosen_pkg = pkg
break
- self._pkg_queue.remove(chosen_pkg)
+ if chosen_pkg is not None:
+ self._pkg_queue.remove(chosen_pkg)
return chosen_pkg
def _dependent_on_scheduled_merges(self, pkg):
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-08 10:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-08 10:49 [gentoo-commits] portage r10985 - main/trunk/pym/_emerge Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox