]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musicxml2ly.py
In musicexp.py generate "Staff.keyAlterations" rather than "Staff.keySignature".
[lilypond.git] / scripts / musicxml2ly.py
index 7c5dc69c1a749a67531a4df0dfe82d1ca7202429..a1faae56ce04b98bbf980354bef71a83bdb9a222 100644 (file)
@@ -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