diff options
author | Necoro <> | 2008-01-11 17:02:28 +0000 |
---|---|---|
committer | Necoro <> | 2008-01-11 17:02:28 +0000 |
commit | 933b7e68f19d6107bff06b29fbbce7f364fba74a (patch) | |
tree | 15b4052f870cf0814791debb1394d5bc2b07c781 /portato/backend/package.py | |
parent | 8be4bf021300b29e71a9d7a8dee4c41803581656 (diff) | |
download | portato-933b7e68f19d6107bff06b29fbbce7f364fba74a.tar.gz portato-933b7e68f19d6107bff06b29fbbce7f364fba74a.tar.bz2 portato-933b7e68f19d6107bff06b29fbbce7f364fba74a.zip |
r598@Devoty: necoro | 2008-01-10 16:36:29 +0100
Handle the new useflag format correctly
Diffstat (limited to '')
-rw-r--r-- | portato/backend/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py index a7f41d7..4d84e90 100644 --- a/portato/backend/package.py +++ b/portato/backend/package.py @@ -268,11 +268,13 @@ class Package (_Package): @returns: the reason for masking the package @rtype: string""" - def get_iuse_flags (self, installed = False): + def get_iuse_flags (self, installed = False, keep = False): """Returns a list of _all_ useflags for this package, i.e. all useflags you can set for this package. @param installed: do not take the ones stated in the ebuild, but the ones it has been installed with @type installed: boolean + @param keep: keep the "+" or "-" signs for forced flags + @type keep: boolean @returns: list of use-flags @rtype: string[]""" |