summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-10 01:46:34 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-10 01:46:34 +0200
commit1aaa1b04303219e7e4624a98bc8c42ce6dbff2e5 (patch)
treec3ba8d5ad12a731e3cb7911ba12f866d8348bb85 /portato/gui/queue.py
parente87c645c65d1735716fa4832cec910feb82d92cc (diff)
downloadportato-1aaa1b04303219e7e4624a98bc8c42ce6dbff2e5.tar.gz
portato-1aaa1b04303219e7e4624a98bc8c42ce6dbff2e5.tar.bz2
portato-1aaa1b04303219e7e4624a98bc8c42ce6dbff2e5.zip
Make the queue's update_world set-sensitive too
Diffstat (limited to '')
-rw-r--r--portato/gui/queue.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index c04d449..8b5a8dc 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -488,9 +488,11 @@ class EmergeQueue:
self.doEmerge(s,list, it, caller = self.unmerge)
- def update_world(self, force = False, newuse = False, deep = False, options = None):
+ def update_world(self, sets = ("world",), force = False, newuse = False, deep = False, options = None):
"""Does an update world. newuse and deep are the arguments handed to emerge.
+ @param sets: The sets to update.
+ @type sets: string[]
@param force: If False, '-pv' is send to emerge. Default: False.
@type force: boolean
@param newuse: If True, append newuse options
@@ -512,7 +514,7 @@ class EmergeQueue:
else:
it = {}
- self.doEmerge(opts, ["world"], it, caller = self.update_world)
+ self.doEmerge(opts, sets, it, caller = self.update_world)
def sync (self, command = None):
"""Calls "emerge --sync".