]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
Output a newline by default at the end of progress messages.
[lilypond.git] / scripts / convert-ly.py
index 9f983540d6a2c4a1d3f7992d979bacd45dd36f68..383f2fb855a5437c8edd0b601e37a2e5b84e927b 100644 (file)
@@ -181,16 +181,18 @@ tuple (LAST,STR), with the last successful conversion and the resulting
 string."""
     conv_list = get_conversions (from_version, to_version)
 
-    ly.progress (_ ("Applying conversion: "))
+    ly.progress (_ ("Applying conversion: "), newline = False)
 
     last_conversion = ()
     try:
         if not conv_list:
             last_conversion = to_version
         for x in conv_list:
-            ly.progress (tup_to_str (x[0]))
             if x != conv_list[-1]:
-                ly.progress (', ')
+                ly.progress (tup_to_str (x[0]), newline = False)
+                ly.progress (', ', newline = False)
+            else:
+                ly.progress (tup_to_str (x[0]))
             str = x[1] (str)
             last_conversion = x[0]
 
@@ -344,6 +346,5 @@ def main ():
                          "Valid version strings consist of three numbers, "
                          "separated by dots, e.g. `2.8.12'") % (f, v.version) )
 
-    ly.progress ('\n')
 
 main ()