commit 96ec4d645bd3c24f4a08d59ac6bd4f9b9264a234
Author: Richard Heck <[email protected]>
Date: Fri Mar 2 23:02:26 2018 -0500
Use pythonic syntax, as suggested by José.
(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 23ec3c8..b3d1f69 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 e1cfddb..18ed4fa 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