From cec9edd34b9a43beadefd55d1755209e1acff191 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 --- lib/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index 888cf9935e..49abf773e4 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") -- 2.39.5