lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

only python 2.4 in scripts, please


From: Graham Percival
Subject: only python 2.4 in scripts, please
Date: Wed, 3 Feb 2010 13:30:57 +0000

We officially only require python 2.4 for lilypond.  Could the recent
change to ilypond-book.py be rewritten to avoid using the "any"
keyword introduced in 2.5 ?

  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 2194, in ?
    main ()
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 2176, in main
    chunks = do_file (files[0])
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 2078, in do_file
    do_process_cmd (chunks, input_fullname, global_options)
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 1912, in do_process_cmd
    snippet.write_ly()
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 1312, in write_ly
    diff_against_existing = filter_pipe (self.full_ly (), 'diff -u %s
-' % filename)
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 1077, in full_ly
    return self.compose_ly (s)
  File 
"/main/src/gub/target/linux-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/scripts/lilypond-book.py",
line 1207, in compose_ly
    if not any (option.startswith (name)
NameError: global name 'any' is not defined


Cheers,
- Graham




reply via email to

[Prev in Thread] Current Thread [Next in Thread]