From 3181082c310b9b320a36b0712024ba085ff0dbe4 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Thu, 27 Jul 2006 14:18:47 +0000 Subject: [PATCH] lib/configure.py: do not wait till the end of 'latex wrap_chkconfig.ltx' to display latex class availability info git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14501 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/configure.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/configure.py b/lib/configure.py index 3d59b1cd96..84253fa8b8 100644 --- a/lib/configure.py +++ b/lib/configure.py @@ -553,9 +553,14 @@ def checkLatexConfig(check_config, bool_docbook, bool_linuxdoc): cl.close() # # we have chklayouts.tex, then process it - for line in cmdOutput(LATEX + ' wrap_chkconfig.ltx').splitlines(): + fout = os.popen(LATEX + ' wrap_chkconfig.ltx') + while True: + line = fout.readline() + if not line: + break; if re.match('^\+', line): - print line + print line, + fout.close() # # currently, values in chhkconfig are only used to set # \font_encoding -- 2.39.2