From: Reinhold Kainhofer Date: Thu, 4 Aug 2011 17:41:55 +0000 (+0200) Subject: Lilypond-book: Add more readable progress output, so one can see where things go... X-Git-Tag: release/2.15.9-1~9^2~40 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2413ae709a595648d0c564cf3e30aa2b5f964f17;p=lilypond.git Lilypond-book: Add more readable progress output, so one can see where things go wrong --- diff --git a/python/book_snippets.py b/python/book_snippets.py index b4849a0dbb..a65fe4d0b7 100644 --- a/python/book_snippets.py +++ b/python/book_snippets.py @@ -739,7 +739,7 @@ printing diff against existing file." % filename) """Pass input through cmd, and return the result.""" if self.global_options.verbose: - progress (_ ("Opening filter `%s'\n") % cmd) + progress (_ ("Running through filter `%s'\n") % cmd) # TODO: Use Popen once we resolve the problem with msvcrt in Windows: (stdin, stdout, stderr) = os.popen3 (cmd) @@ -880,6 +880,7 @@ class MusicXMLFileSnippet (LilypondFileSnippet): option_list.append ('--compressed') self.compressed = True opts = " ".join (option_list) + progress (_ ("Converting MusicXML file `%s'...\n") % self.filename) ly_code = self.filter_pipe (self.contents, 'musicxml2ly %s --out=- - ' % opts) return ly_code