From 32bbf137e87e367dca430d2464ba21b3e223f080 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 4 Oct 2010 13:28:47 -0700 Subject: [PATCH] Fix undefined name 'output_mode'. --- bin/egencache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2