diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-08-06 05:49:28 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-08-06 05:49:28 -0700 |
commit | 73dcdcd67c9c3fd7abf4782aaeab0d1ee126ad33 (patch) | |
tree | d59055911934f42aded629d884f058150ceb24c5 /pym/_emerge | |
parent | 82a1ed5044a54438392a4e604caf95777d11e0db (diff) | |
download | portage-73dcdcd67c9c3fd7abf4782aaeab0d1ee126ad33.tar.gz portage-73dcdcd67c9c3fd7abf4782aaeab0d1ee126ad33.tar.bz2 portage-73dcdcd67c9c3fd7abf4782aaeab0d1ee126ad33.zip |
Add a _MaskReason.hint attribute that the --autounmask code can use
to simplify the 'unstable keyword' check.
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/depgraph.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 4dd3c3f1c..b7bbbd4b5 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2540,8 +2540,7 @@ class depgraph(object): return False mreasons = _get_masking_status(pkg, pkgsettings, root_config) if len(mreasons) == 1 and \ - mreasons[0].category == 'KEYWORDS' and \ - mreasons[0].message.startswith("~"): + mreasons[0].hint == 'unstable keyword': return True else: return False |