diff options
author | Zac Medico <zmedico@gentoo.org> | 2012-08-29 13:23:22 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2012-08-29 13:23:22 -0700 |
commit | 78ba7f0d3a3a2defdf9807ef2e8138965490a2fc (patch) | |
tree | 10a549acf3569d3104291e38927cd8318318da09 /pym/portage/versions.py | |
parent | 9f14ed80e65a18da06e0834961ea032e3e830319 (diff) | |
download | portage-78ba7f0d3a3a2defdf9807ef2e8138965490a2fc.tar.gz portage-78ba7f0d3a3a2defdf9807ef2e8138965490a2fc.tar.bz2 portage-78ba7f0d3a3a2defdf9807ef2e8138965490a2fc.zip |
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
Diffstat (limited to 'pym/portage/versions.py')
-rw-r--r-- | pym/portage/versions.py | 10 |
1 files changed, 5 insertions, 5 deletions
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) |