From: Han-Wen Nienhuys Date: Mon, 1 May 2006 00:18:27 +0000 (+0000) Subject: (dump_score): indent of 4 for python code. X-Git-Tag: release/2.9.3~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ff8fb80c1e2c9e143b259d8df44b1abe9884abe2;p=lilypond.git (dump_score): indent of 4 for python code. --- diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 664d73ec48..65ebc22738 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -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]) diff --git a/scripts/midi2ly.py b/scripts/midi2ly.py index a3b53d8fa2..a79279c395 100644 --- a/scripts/midi2ly.py +++ b/scripts/midi2ly.py @@ -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: