From 9d8c3d018bba343d3148ce7a2bf481d02e1fc3f4 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 26 Aug 2011 23:13:34 +0000 Subject: [PATCH] Revert "The call to cmdOutput can throw an exception, so we need to be careful". This will make reverting the previous commit easier. This reverts commit 82ab1aef334d8573cc3e861e2620d9b4c59f88fe. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39532 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index 5ca32a5192..9fbba18799 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -415,14 +415,7 @@ def checkLuatex(): \end{document} ''') # run lualatex on luatest.tex and check result - try: - luatest = cmdOutput(LUATEX + ' luatest.tex') - except: - # certainly not working - logger.info('LuaTeX call failed.') - # remove temporary files - removeFiles(['luatest.tex', 'luatest.log', 'luatest.aux', 'luatest.pdf']) - return + luatest = cmdOutput(LUATEX + ' luatest.tex') if luatest.find('XeTeX is required to compile this document') != -1: # fontspec/luatex too old! We do not support this version. logger.info(msg + ' no (probably not recent enough)')