summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-06-30 11:01:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-06-30 11:01:17 +0200
commitd0b370300b92883f34485f0b4875f9966bf61116 (patch)
tree00beda893dd38f9c3edccf2b807dc916f2ba315b /portato
parentb11914a429a63f5d33bdb6fc0d543be3fff031d3 (diff)
downloadportato-d0b370300b92883f34485f0b4875f9966bf61116.tar.gz
portato-d0b370300b92883f34485f0b4875f9966bf61116.tar.bz2
portato-d0b370300b92883f34485f0b4875f9966bf61116.zip
Only add a package to mergequeue if everything went fine
Diffstat (limited to '')
-rw-r--r--portato/gui/queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index ce7e620..4bcd41a 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -248,9 +248,9 @@ class EmergeQueue:
self.update_tree(parentIt, cpv, unmask, oneshot = oneshot, type = type)
else: # not update
if type == "install":
- self._queue_append(cpv, oneshot)
if self.tree:
self.update_tree(self.tree.get_emerge_it(), cpv, unmask, type = type, oneshot = oneshot)
+ self._queue_append(cpv, oneshot)
elif type == "update" and self.tree:
self.update_tree(self.tree.get_update_it(), cpv, unmask, type = type, oneshot = oneshot)