summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-08 21:51:29 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-08 21:51:29 +0000
commit0be7594ff549e90fe520bf1001d1cf9b93e05c58 (patch)
tree2fc755b12ade63afced24c59daf76fed35d2e70b
parent2690b6b2a53c4cc6b3d83b79edd13b7eee40fa1b (diff)
downloadportage-0be7594ff549e90fe520bf1001d1cf9b93e05c58.tar.gz
portage-0be7594ff549e90fe520bf1001d1cf9b93e05c58.tar.bz2
portage-0be7594ff549e90fe520bf1001d1cf9b93e05c58.zip
Bug #220987 - Fix UnboundLocalError for 'skip' that only occurs when
using alternate ROOT. Thanks to Ryan Tandy <tarpman@gmail.com>. svn path=/main/trunk/; revision=10252
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 9de21126d..e91abf182 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3900,6 +3900,7 @@ class depgraph(object):
# when necessary, as long as the atom will be satisfied
# in the final state.
graph_db = self.mydbapi[task.root]
+ skip = False
try:
for atom in root_config.sets[
"world"].iterAtomsForPackage(task):