projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eb863f
)
Skip redundant Atom construction in select_package().
author
Zac Medico
<zmedico@gentoo.org>
Wed, 28 May 2008 22:12:18 +0000
(22:12 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 28 May 2008 22:12:18 +0000
(22:12 -0000)
svn path=/main/trunk/; revision=10468
pym/_emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/__init__.py
b/pym/_emerge/__init__.py
index 9dcc1641469a8c22b0a2fec069ae999be6bf05b5..bbd35c273d8c0770c7dcbe776938716c555aeb91 100644
(file)
--- a/
pym/_emerge/__init__.py
+++ b/
pym/_emerge/__init__.py
@@
-3024,7
+3024,8
@@
class depgraph(object):
# List of acceptable packages, ordered by type preference.
matched_packages = []
highest_version = None
- atom = portage.dep.Atom(atom)
+ if not isinstance(atom, portage.dep.Atom):
+ atom = portage.dep.Atom(atom)
atom_cp = atom.cp
existing_node = None
myeb = None