mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Use pythonic syntax, as suggested by José.
(cherry picked from commit cec9edd34b
)
This commit is contained in:
parent
46c48a5a3d
commit
175ba16966
@ -1772,8 +1772,8 @@ def rescanTeXFiles():
|
|||||||
interpreter = sys.executable
|
interpreter = sys.executable
|
||||||
if interpreter == '':
|
if interpreter == '':
|
||||||
interpreter = "python"
|
interpreter = "python"
|
||||||
tfp = cmdOutput(interpreter + " -tt " + '"'
|
tfp = cmdOutput('"%s" -tt "%s"' % (interpreter,\
|
||||||
+ os.path.join(srcdir, 'scripts', 'TeXFiles.py') + '"')
|
os.path.join(srcdir, 'scripts', 'TeXFiles.py')))
|
||||||
logger.info(tfp)
|
logger.info(tfp)
|
||||||
logger.info("\tdone")
|
logger.info("\tdone")
|
||||||
|
|
||||||
|
@ -65,6 +65,8 @@ What's new
|
|||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
- Properly quote python interpreter when scanning TeX files.
|
||||||
|
|
||||||
|
|
||||||
* DOCUMENTATION AND LOCALIZATION
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user