[LyX/master] Configure: turn a commented print into a logger.debug statement.

Thibaut Cuvelier tcuvelier at lyx.org
Thu Feb 4 19:34:55 UTC 2021


commit c0fe25222b8b77df167cef07abcb122c5e698544
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Fri Jan 29 01:46:38 2021 +0100

    Configure: turn a commented print into a logger.debug statement.
---
 lib/configure.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index 4f4977c..aad9cca 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -275,7 +275,7 @@ def checkProg(description, progs, rc_entry=None, path=None, not_found =''):
                      "for each prog and not_found.")
         sys.exit(2)
     logger.info('checking for ' + description + '...')
-    ## print '(' + ','.join(progs) + ')',
+    logger.debug('(' + ','.join(progs) + ')')
     additional_path = path
     path = os.environ["PATH"].split(os.pathsep) + additional_path
     extlist = ['']
@@ -343,7 +343,7 @@ def checkProgAlternatives(description, progs, rc_entry=None,
         logger.error("rc entry should have one item or item for each prog and not_found.")
         sys.exit(2)
     logger.info('checking for ' + description + '...')
-    ## print '(' + ','.join(progs) + ')',
+    logger.debug('(' + ','.join(progs) + ')')
     additional_path = path
     path = os.environ["PATH"].split(os.pathsep) + additional_path
     extlist = ['']


More information about the lyx-cvs mailing list