Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 166943 Details for
Bug 239272
portage.exception.InvalidAtom: !build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle the InvalidAtom exception
invalid_atom.patch (text/plain), 1019 bytes, created by
Zac Medico
on 2008-10-01 21:27:56 UTC
(
hide
)
Description:
handle the InvalidAtom exception
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-10-01 21:27:56 UTC
Size:
1019 bytes
patch
obsolete
>Index: pym/_emerge/__init__.py >=================================================================== >--- pym/_emerge/__init__.py (revision 11603) >+++ pym/_emerge/__init__.py (revision 11604) >@@ -5890,10 +5890,16 @@ > blocker_cache[cpv] = \ > blocker_cache.BlockerData(counter, blocker_atoms) > if blocker_atoms: >- for myatom in blocker_atoms: >- blocker = Blocker(atom=portage.dep.Atom(myatom), >- eapi=pkg.metadata["EAPI"], root=myroot) >- self._blocker_parents.add(blocker, pkg) >+ try: >+ for atom in blocker_atoms: >+ blocker = Blocker(atom=portage.dep.Atom(atom), >+ eapi=pkg.metadata["EAPI"], root=myroot) >+ self._blocker_parents.add(blocker, pkg) >+ except portage.exception.InvalidAtom, e: >+ depstr = " ".join(vardb.aux_get(pkg.cpv, dep_keys)) >+ show_invalid_depstring_notice( >+ pkg, depstr, "Invalid Atom: %s" % (e,)) >+ return False > for cpv in stale_cache: > del blocker_cache[cpv] > blocker_cache.flush()
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 239272
: 166943