diff options
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) |