Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 210092 Details for
Bug 292820
'emerge -puvD system' fails with InvalidAtom: <unprintable InvalidAtom object>
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle invalid slot
invalid_slot.patch (text/plain), 892 bytes, created by
Zac Medico
on 2009-11-12 23:36:28 UTC
(
hide
)
Description:
handle invalid slot
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2009-11-12 23:36:28 UTC
Size:
892 bytes
patch
obsolete
>Index: pym/_emerge/Package.py >=================================================================== >--- pym/_emerge/Package.py (revision 14818) >+++ pym/_emerge/Package.py (revision 14819) >@@ -8,7 +8,7 @@ > import portage > from portage.cache.mappings import slot_dict_class > from portage.dep import paren_reduce, use_reduce, \ >- paren_normalize, paren_enclose >+ paren_normalize, paren_enclose, _slot_re > from _emerge.Task import Task > > if sys.hexversion >= 0x3000000: >@@ -40,7 +40,9 @@ > self.metadata['CHOST'] = self.root_config.settings.get('CHOST', '') > self.cp = portage.cpv_getkey(self.cpv) > slot = self.slot >- if not slot: >+ if _slot_re.match(slot) is None: >+ self._invalid_metadata('SLOT.invalid', >+ "SLOT: invalid value: '%s'" % slot) > # Avoid an InvalidAtom exception when creating slot_atom. > # This package instance will be masked due to empty SLOT. > slot = '0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292820
: 210092