From 1f2bdee043a85ddca79be8ef99b206fb3a97b289 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sat, 22 Feb 2014 20:53:34 +0100 Subject: [PATCH] Restrict lilypond-book mingw32 subprocess workaround to Python versions < 2.6 --- python/book_latex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/book_latex.py b/python/book_latex.py index a47c950e24..5f062c5375 100644 --- a/python/book_latex.py +++ b/python/book_latex.py @@ -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 -- 2.39.5