diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-09-25 18:34:15 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-09-25 18:34:15 +0000 |
commit | d5623c060f31f0daeac35de2fce875458e88425d (patch) | |
tree | 372404b85a0fc9723574ae2338d0786b7cc7a684 | |
parent | e65a4f6ca71bd779b706e8bd83fc82f01ffa3f08 (diff) | |
download | portage-d5623c060f31f0daeac35de2fce875458e88425d.tar.gz portage-d5623c060f31f0daeac35de2fce875458e88425d.tar.bz2 portage-d5623c060f31f0daeac35de2fce875458e88425d.zip |
Fix UnboundLocalError triggered by atom without category for nonexistent
package. Thanks to Jeremy Olexa <darkside@gentoo.org> for reporting.
svn path=/main/trunk/; revision=14431
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 72c31e303..743dcadab 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1483,7 +1483,7 @@ class depgraph(object): # Allow the depgraph to choose which virtual. atom = Atom(null_atom.replace('null/', 'virtual/', 1)) else: - null_atom + atom = null_atom args.append(AtomArg(arg=x, atom=atom, root_config=root_config)) |