From: David Kastrup Date: Sat, 22 Feb 2014 19:53:34 +0000 (+0100) Subject: Restrict lilypond-book mingw32 subprocess workaround to Python versions < 2.6 X-Git-Tag: release/2.19.3-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1f2bdee043a85ddca79be8ef99b206fb3a97b289;p=lilypond.git Restrict lilypond-book mingw32 subprocess workaround to Python versions < 2.6 --- 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