1 |
Author: zmedico |
2 |
Date: 2008-05-10 08:07:35 +0000 (Sat, 10 May 2008) |
3 |
New Revision: 10277 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Fix another KeyError, reported in Bug #221107, comment #4. There's no need |
9 |
to remove uninstall tasks from scheduled_uninstalls, so just keep them |
10 |
in there. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/_emerge/__init__.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/_emerge/__init__.py 2008-05-09 19:13:08 UTC (rev 10276) |
16 |
+++ main/trunk/pym/_emerge/__init__.py 2008-05-10 08:07:35 UTC (rev 10277) |
17 |
@@ -4005,7 +4005,6 @@ |
18 |
"uninstall" == node.operation: |
19 |
have_uninstall_task = True |
20 |
uninst_task = node |
21 |
- scheduled_uninstalls.remove(uninst_task) |
22 |
else: |
23 |
vardb = self.trees[node.root]["vartree"].dbapi |
24 |
previous_cpv = vardb.match(node.slot_atom) |
25 |
@@ -4019,7 +4018,6 @@ |
26 |
mygraph.remove(uninst_task) |
27 |
except KeyError: |
28 |
pass |
29 |
- scheduled_uninstalls.discard(uninst_task) |
30 |
|
31 |
if uninst_task is not None and \ |
32 |
uninst_task not in ignored_uninstall_tasks and \ |
33 |
|
34 |
-- |
35 |
gentoo-commits@l.g.o mailing list |