]> git.donarmstrong.com Git - lilypond.git/commitdiff
Restrict lilypond-book mingw32 subprocess workaround to Python versions < 2.6
authorDavid Kastrup <dak@gnu.org>
Sat, 22 Feb 2014 19:53:34 +0000 (20:53 +0100)
committerDavid Kastrup <dak@gnu.org>
Wed, 26 Feb 2014 08:55:52 +0000 (09:55 +0100)
python/book_latex.py

index a47c950e248152e2f01158880e58d52cab835265..5f062c537525b729428f99e209d4b41fa0d929d6 100644 (file)
@@ -199,6 +199,7 @@ def get_latex_textwidth (source, global_options):
     universal_newlines = True
     if sys.platform == 'mingw32':
         universal_newlines = False
+    if (sys.platform == 'mingw32') and (sys.version_info < (2, 6)):
         ### use os.system to avoid weird sleep() problems on
         ### GUB's python 2.4.2 on mingw
         # make file to write to