From 262598d458df6e8df4c93fc723be4549145e5b6b Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Wed, 7 Jul 2010 13:55:18 +0200 Subject: [PATCH] Lilypond-book: Variable name clash --- python/book_snippets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/book_snippets.py b/python/book_snippets.py index aedee3ceef..b4849a0dbb 100644 --- a/python/book_snippets.py +++ b/python/book_snippets.py @@ -752,16 +752,16 @@ printing diff against existing file." % filename) status = 0 output = stdout.read () status = stdout.close () - error = stderr.read () + err = stderr.read () if not status: status = 0 signal = 0x0f & status - if status or (not output and error): + if status or (not output and err): exit_status = status >> 8 ly.error (_ ("`%s' failed (%d)") % (cmd, exit_status)) ly.error (_ ("The error log is as follows:")) - ly.stderr_write (error) + ly.stderr_write (err) ly.stderr_write (stderr.read ()) exit (status) -- 2.39.2