diff options
Diffstat (limited to '')
-rw-r--r-- | portato/gui/queue.py | 6 |
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". |