summaryrefslogtreecommitdiff
path: root/portato/gui/wrapper.py
diff options
context:
space:
mode:
authornecoro <>2007-08-16 15:52:53 +0000
committernecoro <>2007-08-16 15:52:53 +0000
commitb48d1b86ad5dc9ec069be256c37d9571759111b8 (patch)
tree5338c4ba3ad49e7aa8cf85c045d040b1c84d5edc /portato/gui/wrapper.py
parenteae9ec73ba26638e25d23ba2261422461150ad73 (diff)
downloadportato-b48d1b86ad5dc9ec069be256c37d9571759111b8.tar.gz
portato-b48d1b86ad5dc9ec069be256c37d9571759111b8.tar.bz2
portato-b48d1b86ad5dc9ec069be256c37d9571759111b8.zip
improved update-world; now showing differences between installed and set use-flags
Diffstat (limited to '')
-rw-r--r--portato/gui/wrapper.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/portato/gui/wrapper.py b/portato/gui/wrapper.py
index 12e4a71..1a9ef8f 100644
--- a/portato/gui/wrapper.py
+++ b/portato/gui/wrapper.py
@@ -139,7 +139,7 @@ class Tree:
@rtype: Iterator"""
raise NotImplementedError
- def build_append_value (self, cpv, oneshot = False, update = False, version = None):
+ def build_append_value (self, cpv, oneshot = False, update = False, downgrade = False, version = None, useChange = []):
"""Builds the list, which is going to be passed to append.
@param cpv: the cpv
@@ -148,8 +148,12 @@ class Tree:
@type oneshot: boolean
@param update: True if this is an update
@type update: boolean
+ @param downgrade: True if this is a downgrade
+ @type downgrade: boolean
@param version: the version we update from
@type version: string
+ @param useChange: list of changed useflags; use "-use" for removed and "+use" for added flags
+ @type useChange: string[]
@returns: the created list
@rtype: list"""