From d5623c060f31f0daeac35de2fce875458e88425d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 25 Sep 2009 18:34:15 +0000 Subject: [PATCH] Fix UnboundLocalError triggered by atom without category for nonexistent package. Thanks to Jeremy Olexa for reporting. svn path=/main/trunk/; revision=14431 --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.26.2