projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a30405
)
In Scheduler._restart_if_necessary(), use list.remove() instead of assuming
author
Zac Medico
<zmedico@gentoo.org>
Tue, 15 Jul 2008 21:17:37 +0000
(21:17 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 15 Jul 2008 21:17:37 +0000
(21:17 -0000)
that portage is first in the resume list.
svn path=/main/trunk/; revision=11061
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index ac21e5f3fe6fda7a261fcdc3c7a27596fd4653ce..ac8456358d2087aa29ed61e2d8a24e9548c1f57a 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-8760,7
+8760,7
@@
class Scheduler(PollScheduler):
"emerge via exec() after change of " + \
"portage version.")
- del mtimedb["resume"]["mergelist"][0]
+ mtimedb["resume"]["mergelist"].remove(list(pkg))
mtimedb.commit()
portage.run_exitfuncs()
mynewargv = [sys.argv[0], "--resume"]