In Scheduler._schedule_tasks_imp(), add uninstall operations to the front
authorZac Medico <zmedico@gentoo.org>
Sat, 22 Aug 2009 23:44:59 +0000 (23:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 22 Aug 2009 23:44:59 +0000 (23:44 -0000)
of the merge queue.

svn path=/main/trunk/; revision=14129

pym/_emerge/Scheduler.py

index 0de01756e01c73633a2821dcb8b341bf28efcbd5..bb2ed19d2c0f42da0e4a9c50ddae5cc1547646c7 100644 (file)
@@ -1360,7 +1360,7 @@ class Scheduler(PollScheduler):
                        if pkg.installed:
                                merge = PackageMerge(merge=task)
                                merge.addExitListener(self._merge_exit)
-                               self._task_queues.merge.add(merge)
+                               self._task_queues.merge.addFront(merge)
 
                        elif pkg.built:
                                self._jobs += 1