summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Gourlay <john@weathervanefarm.net>2016-03-15 16:41:26 -0400
committerJohn Gourlay <john@weathervanefarm.net>2016-03-15 16:41:26 -0400
commit6676553f94d1224a9956a43b4b5a3e4777bb47ce (patch)
tree1a3b70f273d2626818e2e0aee53c3a5279b5bb8b /scripts
parent42b6a1852760ac7f46ce894e82a64bbe6c2cff70 (diff)
In musicexp.py generate "Staff.keyAlterations" rather than "Staff.keySignature".
In musicxml2ly.py store the LilyPond version in one variable, lilypond_version.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/musicxml2ly.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py
index 7c5dc69c1a..a1faae56ce 100644
--- a/scripts/musicxml2ly.py
+++ b/scripts/musicxml2ly.py
@@ -24,6 +24,8 @@ import musicexp
from rational import Rational
+lilypond_version = "@TOPLEVEL_VERSION@"
+
# Store command-line options in a global variable, so we can access them everywhere
options = None
@@ -3217,8 +3219,6 @@ def get_existing_filename_with_extension(filename, ext):
def main():
- global lilypond_version
- lilypond_version = "@TOPLEVEL_VERSION@"
opt_parser = option_parser()
global options