From 19f9e0b5234693cf7e27a24c94f2136cd90be8c7 Mon Sep 17 00:00:00 2001 From: necoro <> Date: Fri, 13 Apr 2007 16:27:56 +0000 Subject: Improved masking display and made most of the Qt-Frontend work --- portato/backend/package.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'portato/backend/package.py') diff --git a/portato/backend/package.py b/portato/backend/package.py index 70773cc..f9b675d 100644 --- a/portato/backend/package.py +++ b/portato/backend/package.py @@ -58,6 +58,14 @@ class Package: flags.remove_new_masked(self.get_cpv()) + def is_locally_masked (self): + """Checks whether the package is masked by the user. + + @returns: True if masked by the user; False if not + @rtype: bool""" + + return flags.is_locally_masked(self) + def get_installed_use_flags (self): """Returns a list of the useflags enabled at installation time. If package is not installed, it returns an empty list. -- cgit v1.2.3-54-g00ecf