diff options
Diffstat (limited to 'pym/portage/versions.py')
-rw-r--r-- | pym/portage/versions.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/portage/versions.py b/pym/portage/versions.py index d78873f9e..1dd2ff359 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -409,7 +409,10 @@ class _pkg_str(_unicode): except AttributeError: raise AttributeError('stable') stable = settings._isStable(self) - self.__dict__['_stable'] = stable + if settings.local_config: + # For repoman, don't cache this value, since + # it needs to be re-computed for each profile. + self.__dict__['_stable'] = stable return stable def pkgsplit(mypkg, silent=1, eapi=None): |