From 9ea1eb84c6c2cd91e31196471ec8ad4339988611 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 17 Jul 2012 15:21:04 -0700 Subject: Propagate EAPI for update_dbentry (bug #426476). --- pym/portage/versions.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym/portage/versions.py') 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) -- cgit v1.2.3-1-g7c22