diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-07-17 15:21:04 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-07-17 15:21:04 -0700 |
commit | 9ea1eb84c6c2cd91e31196471ec8ad4339988611 (patch) | |
tree | 858c3bb43a799b2f7bcaf3d97966847d5a24a831 /pym/portage/versions.py | |
parent | 484d2df3fb2f65414746dbb85fa81d99f374648f (diff) | |
download | portage-9ea1eb84c6c2cd91e31196471ec8ad4339988611.tar.gz portage-9ea1eb84c6c2cd91e31196471ec8ad4339988611.tar.bz2 portage-9ea1eb84c6c2cd91e31196471ec8ad4339988611.zip |
Propagate EAPI for update_dbentry (bug #426476).
Diffstat (limited to 'pym/portage/versions.py')
-rw-r--r-- | pym/portage/versions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/versions.py b/pym/portage/versions.py index 5893096d1..27947532b 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -345,6 +345,8 @@ class _pkg_str(_unicode): # Avoid TypeError from _unicode.__init__ with PyPy. cpv = _unicode_decode(cpv) _unicode.__init__(cpv) + if eapi is not None: + self.__dict__['eapi'] = eapi self.__dict__['cpv_split'] = catpkgsplit(cpv, eapi=eapi) if self.cpv_split is None: raise InvalidData(cpv) |