From 933b7e68f19d6107bff06b29fbbce7f364fba74a Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Fri, 11 Jan 2008 17:02:28 +0000 Subject: r598@Devoty: necoro | 2008-01-10 16:36:29 +0100 Handle the new useflag format correctly --- portato/backend/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'portato/backend/package.py') 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[]""" -- cgit v1.2.3-54-g00ecf