summaryrefslogtreecommitdiff
path: root/portato/backend/package.py
diff options
context:
space:
mode:
authornecoro <>2007-04-13 16:27:56 +0000
committernecoro <>2007-04-13 16:27:56 +0000
commit19f9e0b5234693cf7e27a24c94f2136cd90be8c7 (patch)
tree990cc025c0485483c7e0158d8b166bc1b568de1f /portato/backend/package.py
parent2d76b0ba7f6d0040c42e53df87f1ffbcbbe2cba1 (diff)
downloadportato-19f9e0b5234693cf7e27a24c94f2136cd90be8c7.tar.gz
portato-19f9e0b5234693cf7e27a24c94f2136cd90be8c7.tar.bz2
portato-19f9e0b5234693cf7e27a24c94f2136cd90be8c7.zip
Improved masking display and made most of the Qt-Frontend work
Diffstat (limited to '')
-rw-r--r--portato/backend/package.py8
1 files changed, 8 insertions, 0 deletions
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.