]> git.donarmstrong.com Git - lilypond.git/commitdiff
(dump_score): indent of 4 for python code.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 1 May 2006 00:18:27 +0000 (00:18 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 1 May 2006 00:18:27 +0000 (00:18 +0000)
scripts/abc2ly.py
scripts/midi2ly.py

index 664d73ec481ffebf47f1f8a640bc1d0759c7a177..65ebc227388dee31781104727332eb81a219883d 100644 (file)
@@ -536,7 +536,7 @@ def try_parse_tuplet_begin (str, state):
         dig = str[1]
         str = str[2:]
         prev_tuplet_state = state.parsing_tuplet
-         state.parsing_tuplet = string.atoi (dig[0])
+        state.parsing_tuplet = string.atoi (dig[0])
         if prev_tuplet_state:
             voices_append ("}")                
         voices_append ("\\times %s {" % tup_lookup[dig])
index a3b53d8fa244d743689cd624511ebd1596ec260d..a79279c395b8535410f7f19c790065b27d341015 100644 (file)
@@ -237,11 +237,11 @@ class Note:
         key = global_options.key
         if key.minor:
             # as -> gis
-            if key.sharps == 0 and key.flats == 0 \
-             and n == 5 and a == -1:
+            if (key.sharps == 0 and key.flats == 0
+                and n == 5 and a == -1):
                 n = 4; a = 1
             # des -> cis
-               elif key.flats == 1 and n == 1 and a == -1:
+            elif key.flats == 1 and n == 1 and a == -1:
                 n = 0; a = 1
             # ges -> fis
             elif key.flats == 2 and n == 4 and a == -1: