commit cec9edd34b9a43beadefd55d1755209e1acff191
Author: Richard Heck <rgh...@lyx.org>
Date:   Fri Mar 2 23:02:26 2018 -0500

    Use pythonic syntax, as suggested by José.
---
 lib/configure.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 888cf99..49abf77 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -1777,8 +1777,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")
 

Reply via email to