summaryrefslogtreecommitdiff
path: root/portato/backend/package.py
diff options
context:
space:
mode:
authornecoro <>2007-05-14 19:30:24 +0000
committernecoro <>2007-05-14 19:30:24 +0000
commitfdc8ab4222e781544cba285564b5bb368b9734a1 (patch)
treecae80705cd3a8833343f460143b713bc688aeb73 /portato/backend/package.py
parent8b5575f4ecff31de8e23b88dffb63b19ff2d2167 (diff)
downloadportato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.gz
portato-fdc8ab4222e781544cba285564b5bb368b9734a1.tar.bz2
portato-fdc8ab4222e781544cba285564b5bb368b9734a1.zip
added the display of the masking reason
Diffstat (limited to 'portato/backend/package.py')
-rw-r--r--portato/backend/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/portato/backend/package.py b/portato/backend/package.py
index 59d552b..b32268f 100644
--- a/portato/backend/package.py
+++ b/portato/backend/package.py
@@ -283,6 +283,12 @@ class Package:
@rtype: boolean"""
raise NotImplementedError
+
+ def get_masking_reason (self):
+ """Returns the reason for masking the package. If this is not possible for the system, return None.
+
+ @returns: the reason for masking the package
+ @rtype: string"""
def get_all_use_flags (self, installed = False):
"""Returns a list of _all_ useflags for this package, i.e. all useflags you can set for this package.