[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sets lilypond-id message to type progress (issue 5848056)

From: PhilEHolmes
Subject: Sets lilypond-id message to type progress (issue 5848056)
Date: Sun, 18 Mar 2012 17:34:47 +0000

Reviewers: Graham Percival, Julien Rioux, dak, Reinhold,

Please review

We're now down to about 460 lines of output from make doc -s, and
" (GNU LilyPond) 2.15.34" is nearly 20% of them.  If the
way this is output is changed to progress(), then running -book with -l
WARN (which we do) does not output these to terminal.

Please review whether this is the best approach.

Please review this at

Affected files:
  M scripts/

Index: scripts/
diff --git a/scripts/ b/scripts/
index 8847419fe0dc46e698e06873f7494e4bf0bae6f2..623ef16fc618b5579462e8dbddd4523692cd3e9a 100644
--- a/scripts/
+++ b/scripts/
@@ -96,13 +96,12 @@ def exit (i):
         sys.exit (i)

-def identify ():
- ly.encoded_write (sys.stdout, '%s (GNU LilyPond) %s\n' % (ly.program_name, ly.program_version))
 progress = ly.progress
 warning = ly.warning
 error = ly.error

+def identify ():
+ progress(_ ('%s (GNU LilyPond) %s' % (ly.program_name, ly.program_version)))

 def warranty ():
     identify ()

reply via email to

[Prev in Thread] Current Thread [Next in Thread]