From 78ba7f0d3a3a2defdf9807ef2e8138965490a2fc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 29 Aug 2012 13:23:22 -0700 Subject: Rename slot-abi stuff to refer to slot-operator. This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47 --- pym/portage/versions.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pym/portage/versions.py') diff --git a/pym/portage/versions.py b/pym/portage/versions.py index 692256b24..242623fde 100644 --- a/pym/portage/versions.py +++ b/pym/portage/versions.py @@ -372,19 +372,19 @@ class _pkg_str(_unicode): if slot_match is None: # Avoid an InvalidAtom exception when creating SLOT atoms self.__dict__['slot'] = '0' - self.__dict__['slot_abi'] = '0' + self.__dict__['sub_slot'] = '0' self.__dict__['slot_invalid'] = slot else: - if eapi_attrs.slot_abi: + if eapi_attrs.slot_operator: slot_split = slot.split("/") self.__dict__['slot'] = slot_split[0] if len(slot_split) > 1: - self.__dict__['slot_abi'] = slot_split[1] + self.__dict__['sub_slot'] = slot_split[1] else: - self.__dict__['slot_abi'] = slot_split[0] + self.__dict__['sub_slot'] = slot_split[0] else: self.__dict__['slot'] = slot - self.__dict__['slot_abi'] = slot + self.__dict__['sub_slot'] = slot if repo is not None: repo = _gen_valid_repo(repo) -- cgit v1.2.3-1-g7c22