From 96ec4d645bd3c24f4a08d59ac6bd4f9b9264a234 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 2 Mar 2018 23:02:26 -0500 Subject: [PATCH] =?utf8?q?Use=20pythonic=20syntax,=20as=20suggested=20by?= =?utf8?q?=20Jos=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit (cherry picked from commit cec9edd34b9a43beadefd55d1755209e1acff191) --- lib/configure.py | 4 ++-- status.23x | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index 23ec3c82dc..b3d1f697db 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -1772,8 +1772,8 @@ def rescanTeXFiles(): interpreter = sys.executable if interpreter == '': interpreter = "python" - tfp = cmdOutput(interpreter + " -tt " + '"' - + os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"') + tfp = cmdOutput('"%s" -tt "%s"' % (interpreter,\ + os.path.join(srcdir, 'scripts', 'TeXFiles.py'))) logger.info(tfp) logger.info("\tdone") diff --git a/status.23x b/status.23x index e1cfddbe3f..18ed4fac02 100644 --- a/status.23x +++ b/status.23x @@ -65,6 +65,8 @@ What's new * INTERNALS +- Properly quote python interpreter when scanning TeX files. + * DOCUMENTATION AND LOCALIZATION -- 2.39.5