summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-04 13:28:47 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-04 13:28:47 -0700
commit32bbf137e87e367dca430d2464ba21b3e223f080 (patch)
tree5a1619e4b81d40b807af1b08faee509861dc144f
parentaeb672bb1e841a1a4d3994f87f01a26dc92c8a59 (diff)
downloadportage-32bbf137e87e367dca430d2464ba21b3e223f080.tar.gz
portage-32bbf137e87e367dca430d2464ba21b3e223f080.tar.bz2
portage-32bbf137e87e367dca430d2464ba21b3e223f080.zip
Fix undefined name 'output_mode'.
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index bf4b6d567..783cfc428 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -365,7 +365,7 @@ class GenUseLocalDesc(object):
errors='replace')
except IOError as e:
writemsg_level(
- "ERROR: failed to open output file %s: %s\n" % (output_mode,e,),
+ "ERROR: failed to open output file %s: %s\n" % (desc_path,e,),
level=logging.ERROR, noiselevel=-1)
self.returncode |= 2
return